Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFalk David <falkdavid@gmx.de>2021-04-20 16:45:32 +0300
committerFalk David <falkdavid@gmx.de>2021-04-20 16:46:52 +0300
commite1a9ba94c59950ed6af09b524d7a7fe22919055b (patch)
tree5e508cd6974184dc57a4e16f15ea3f19f5208189 /release
parent7834fcc67d28b9104faaf8b2379b9f094076a572 (diff)
Fix T87637: Dragging button value cancel not working
Dragging a number button, then holding the value and pressing escape would not reset the value correctly. This was because eb06ccc32462 assumed that `data->value` and `data->startvalue` were set during dragging which they are not. The fix moves the if statement into the section where we check if a number was entered (number edit) making sure that we only cancel if the button was in "string enter" mode and that the value entered was the same as before. Reviewed By: HooglyBoogly, Severin Maniphest Tasks: T87637 Differential Revision: https://developer.blender.org/D11021
Diffstat (limited to 'release')
0 files changed, 0 insertions, 0 deletions