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

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