mirror of
https://github.com/edubart/otclient.git
synced 2025-12-26 09:47:11 +01:00
Fix win32 compile errors
This commit is contained in:
@@ -392,8 +392,8 @@ void UIWidget::drawIcon(const Rect& screenCoords)
|
||||
drawRect.moveCenter(screenCoords.center());
|
||||
else
|
||||
drawRect.alignIn(screenCoords, m_iconAlign);
|
||||
drawRect.translate(m_iconOffset);
|
||||
}
|
||||
drawRect.translate(m_iconOffset);
|
||||
g_painter->setColor(m_iconColor);
|
||||
g_painter->drawTexturedRect(drawRect, m_icon, m_iconClipRect);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user