diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2015-11-19 17:07:51 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2015-11-19 17:13:38 +0300 |
commit | 70cf77e1ce61fd7f1339163c3792feb6c9a09782 (patch) | |
tree | eb4f7e53c462f6726fb0e0b08a0c248ad9aa2a0d /source/blender/blenkernel/intern | |
parent | d573bb4f661ae8195d99193dda41b03821df3677 (diff) |
Fix new UI align code behavior with very small buttons.
In case two neighbor buttons are very small, their total width (or height) can remain below
max authorized delta, and hence wrong side could be detected as 'common side' for the pair.
This is now fixed by checking both opposite sides at once.
Also, we expect buttons to have some width and height to be considered alignable now!
Took me two days to sort that out, grrrr!
Diffstat (limited to 'source/blender/blenkernel/intern')
0 files changed, 0 insertions, 0 deletions