Fix T46402: UILists fail to scroll using click+drag

This commit is contained in:
Philipp Oeser 2015-10-07 21:07:45 +02:00 committed by Julian Eisel
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
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}