Fix T46402: UILists fail to scroll using click+drag
This commit is contained in:
parent
d5882352b3
commit
7a06613b82
Notes:
blender-bot
2023-02-14 08:34:35 +01:00
Referenced by issue #46402, UILists fail to scroll in recent Buildbot versions on Windows 7 using Click-Drag
|
@ -4350,7 +4350,7 @@ static bool ui_numedit_but_SLI(
|
|||
float offs;
|
||||
|
||||
/* prevent unwanted drag adjustments */
|
||||
if (ui_but_dragedit_update_mval(data, mx) == false) {
|
||||
if (ui_but_dragedit_update_mval(data, mx) == false && but->type != UI_BTYPE_SCROLL) {
|
||||
return changed;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue