UI: pin icon was ignoring DPI

This commit is contained in:
Campbell Barton 2014-01-06 03:10:15 +11:00
parent ca78e402eb
commit ede891808c
1 changed files with 1 additions and 1 deletions

View File

@ -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 / U.pixelsize, 1.0f);
(block->aspect / UI_DPI_FAC) / U.pixelsize, 1.0f);
glDisable(GL_BLEND);
}