diff options
author | Rodolphe Suescun <rodzilla@free.fr> | 2018-08-27 07:57:30 +0200 |
---|---|---|
committer | RodZill4 <rodzilla@free.fr> | 2018-12-10 19:33:04 +0100 |
commit | 0838eca06322e5789450e03bf9be4c82b1d7a5e5 (patch) | |
tree | 5569bad5adde16f9c70c92b722b48f14fc50639c /scene/gui/tree.cpp | |
parent | fa024537a39c24bf9fb2e24063acee0daf63dfc1 (diff) |
Fixed issue #11893 (SpinBox Capturing mouse)
To prevent the SpinBox from capturing mouse, added a "drag.allowed"
variable that is set to true only when clicking inside the control.
Entering the control with the left mouse button pressed will not
trigger drag anymore.
Also modified the value update code when dragging so it does not
modify the base_val.
Diffstat (limited to 'scene/gui/tree.cpp')
0 files changed, 0 insertions, 0 deletions