Blender Git Loki
Git Commits -> Revision 70cf77e
Revision 70cf77e by Bastien Montagne (master) November 19, 2015, 14:13 (GMT) |
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! |
Commit Details:
Full Hash: 70cf77e1ce61fd7f1339163c3792feb6c9a09782
Parent Commit: d573bb4
Lines Changed: +17, -6
1 Modified Path:
/source/blender/editors/interface/interface_align.c (+17, -6) (Diff)