Fix #115363: Scrollbars for template_lists in popups update issue #115364
@ -6017,6 +6017,10 @@ static int ui_do_but_SCROLL(
|
|||||||
const bool is_motion = (event->type == MOUSEMOVE);
|
const bool is_motion = (event->type == MOUSEMOVE);
|
||||||
if (ui_numedit_but_SLI(
|
if (ui_numedit_but_SLI(
|
||||||
but, data, (horizontal) ? mx : my, horizontal, is_motion, false, false)) {
|
but, data, (horizontal) ? mx : my, horizontal, is_motion, false, false)) {
|
||||||
|
/* Scrollbars in popups need UI layout refresh to update the right items to show. */
|
||||||
|
if (ui_block_is_popup_any(but->block)) {
|
||||||
|
ED_region_tag_refresh_ui(data->region);
|
||||||
|
}
|
||||||
ui_numedit_apply(C, block, but, data);
|
ui_numedit_apply(C, block, but, data);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user