diff options
Diffstat (limited to 'src/gui/emotepopup.cpp')
-rw-r--r-- | src/gui/emotepopup.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/emotepopup.cpp b/src/gui/emotepopup.cpp index b732705e..8a85aca3 100644 --- a/src/gui/emotepopup.cpp +++ b/src/gui/emotepopup.cpp @@ -69,8 +69,8 @@ void EmotePopup::draw(gcn::Graphics *graphics) int row = i / mColumnCount; int column = i % mColumnCount; - int emoteX = 4 + column * gridWidth; - int emoteY = 4 + row * gridHeight; + int emoteX = getPadding() + column * gridWidth; + int emoteY = getPadding() + row * gridHeight; // Center the last row when there are less emotes than columns if (row == mRowCount - 1) |