Blender Git Commit Log

Git Commits -> Revision 3726aa6

Revision 3726aa6 by Yevgeny Makarov (master)
January 28, 2021, 11:36 (GMT)
Fix T83935: Superimposed icon's hotspot is misaligned

Now the icon's rect are drawn wider than it should be, and with
overlapping, probably in order to compensate for the icon's offsets
inside the rect. The solution is to draw icon's rect of the correct
size and center the icon itself.

And make the hotspot exactly match the icon's rect. The last/right
button's hotspot also covers the extra padding on the right.

Differential Revision: https://developer.blender.org/D9936

Reviewed by: Julian Eisel

Commit Details:

Full Hash: 3726aa68c35d91aa6065d197aecdc3ee36a1b38f
Parent Commit: 07e66f5
Committed By: Julian Eisel
Lines Changed: +25, -4

2 Modified Paths:

/source/blender/editors/interface/interface_handlers.c (+9, -1) (Diff)
/source/blender/editors/interface/interface_widgets.c (+16, -3) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021