Fix T46402: UILists fail to scroll using click+drag
This commit is contained in:
committed by
Julian Eisel
parent
d5882352b3
commit
7a06613b82
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user