GUI: Initialize widget padding

This commit is contained in:
Eugene Sandulenko 2016-05-02 13:26:48 +02:00
parent 7ffa209a79
commit bf06b3bc18

View File

@ -388,6 +388,8 @@ PopUpWidget::PopUpWidget(GuiObject *boss, int x, int y, int w, int h, const char
_type = kPopUpWidget;
_selectedItem = -1;
_leftPadding = _rightPadding = 0;
}
void PopUpWidget::handleMouseDown(int x, int y, int button, int clickCount) {