diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-04-05 05:49:28 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-04-05 05:49:28 +0400 |
commit | c297374449656aba026ef91eda9ad045873326f5 (patch) | |
tree | 1fc6362703ab2477f24c35306c6603800106e309 /source/blender | |
parent | 784beb43385b10e01feb4d480a35cdccfaed70e2 (diff) |
partial fix [#30813] Small UI glitch with high DPI value in menus
fix provided by Julien Enche (trap).
also corrected some 2.4x theme colors (selected file, outliner and image background)
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/interface/interface_widgets.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface_widgets.c b/source/blender/editors/interface/interface_widgets.c index 4ecd85f62e7..4c6819f44b1 100644 --- a/source/blender/editors/interface/interface_widgets.c +++ b/source/blender/editors/interface/interface_widgets.c @@ -934,7 +934,7 @@ static void widget_draw_icon(uiBut *but, BIFIconID icon, float alpha, rcti *rect } if (ui_but_draw_menu_icon(but)) { - xs = rect->xmax - 17; + xs = rect->xmax - UI_DPI_ICON_SIZE - 1; ys = (rect->ymin + rect->ymax - height) / 2; UI_icon_draw_aspect(xs, ys, ICON_RIGHTARROW_THIN, aspect, alpha); |