diff options
author | Yevgeny Makarov <jenkm> | 2021-01-28 14:33:46 +0300 |
---|---|---|
committer | Julian Eisel <julian@blender.org> | 2021-01-28 14:36:00 +0300 |
commit | 3726aa68c35d91aa6065d197aecdc3ee36a1b38f (patch) | |
tree | b6c032bbd0e631ba5cb3d526908224a466ce4f5e /source/blender/editors/interface/interface.c | |
parent | 07e66f58cc711361ed76f4fa645c7a0079134de0 (diff) |
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
Diffstat (limited to 'source/blender/editors/interface/interface.c')
0 files changed, 0 insertions, 0 deletions