summaryrefslogtreecommitdiff
path: root/src/gui/widgets
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-05-23 01:46:59 +0300
committerAndrei Karas <akaras@inbox.ru>2018-05-23 01:46:59 +0300
commit4150f81fd2bd2de6251f0bdf05361922c63713e5 (patch)
tree2d9832b64f1deca258fb67dbd98bf8dfba769552 /src/gui/widgets
parentd403995f4db5659ff55749501736d93b8269c8f5 (diff)
downloadManaVerse-4150f81fd2bd2de6251f0bdf05361922c63713e5.tar.gz
ManaVerse-4150f81fd2bd2de6251f0bdf05361922c63713e5.tar.bz2
ManaVerse-4150f81fd2bd2de6251f0bdf05361922c63713e5.tar.xz
ManaVerse-4150f81fd2bd2de6251f0bdf05361922c63713e5.zip
Add textOffsetY skin field into spell shortcut container.
Before it used box/2 as offset.
Diffstat (limited to 'src/gui/widgets')
-rw-r--r--src/gui/widgets/spellshortcutcontainer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/spellshortcutcontainer.cpp b/src/gui/widgets/spellshortcutcontainer.cpp
index b2a80209e..5bc40f7bd 100644
--- a/src/gui/widgets/spellshortcutcontainer.cpp
+++ b/src/gui/widgets/spellshortcutcontainer.cpp
@@ -120,7 +120,7 @@ void SpellShortcutContainer::draw(Graphics *const graphics)
mForegroundColor2,
spell->getSymbol(),
itemX + mTextOffsetX,
- itemY + mBoxHeight / 2);
+ itemY + mTextOffsetY);
}
}
@@ -183,7 +183,7 @@ void SpellShortcutContainer::safeDraw(Graphics *const graphics)
mForegroundColor2,
spell->getSymbol(),
itemX + mTextOffsetX,
- itemY + mBoxHeight / 2);
+ itemY + mTextOffsetY);
}
}