diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-01-14 21:56:37 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-01-14 21:57:27 +0400 |
commit | 1908c31b06d8c23ec19ce5f95dc3eb6aa6b3d2f4 (patch) | |
tree | aba286addf70c9dd1da818649f1e4c2ae21fd92d /source/blender/editors | |
parent | 43c2b36431518b0a8b492606bacae78fe9fad4ea (diff) |
Fix for icon pin drawing too large when (U.pixelsize != 1)
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/interface/interface_panel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface_panel.c b/source/blender/editors/interface/interface_panel.c index a330f31bd34..bc257e852de 100644 --- a/source/blender/editors/interface/interface_panel.c +++ b/source/blender/editors/interface/interface_panel.c @@ -573,7 +573,7 @@ void ui_draw_aligned_panel(uiStyle *style, uiBlock *block, const rcti *rect, con glEnable(GL_BLEND); UI_icon_draw_aspect(headrect.xmax - ((PNL_ICON * 2.2f) / block->aspect), headrect.ymin + (5.0f / block->aspect), (panel->flag & PNL_PIN) ? ICON_PINNED : ICON_UNPINNED, - (block->aspect / UI_DPI_FAC) / U.pixelsize, 1.0f); + (block->aspect / UI_DPI_FAC), 1.0f); glDisable(GL_BLEND); } |