fix for copy/paste error in scaling text by DPI, vertical shadow offset wasn't working for panel text.

This commit is contained in:
2013-06-06 20:44:48 +00:00
parent df32165002
commit 5ed9ede71c

View File

@@ -270,9 +270,9 @@ uiStyle *UI_GetStyleDraw(void)
_style = *style;
_style.paneltitle.shadx = (short)(UI_DPI_FAC * _style.paneltitle.shadx);
_style.paneltitle.shady = (short)(UI_DPI_FAC * _style.grouplabel.shady);
_style.paneltitle.shady = (short)(UI_DPI_FAC * _style.paneltitle.shady);
_style.grouplabel.shadx = (short)(UI_DPI_FAC * _style.grouplabel.shadx);
_style.grouplabel.shady = (short)(UI_DPI_FAC * _style.paneltitle.shady);
_style.grouplabel.shady = (short)(UI_DPI_FAC * _style.grouplabel.shady);
_style.widgetlabel.shadx = (short)(UI_DPI_FAC * _style.widgetlabel.shadx);
_style.widgetlabel.shady = (short)(UI_DPI_FAC * _style.widgetlabel.shady);