diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-05-23 02:05:18 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-05-23 02:05:18 +0300 |
commit | a285bd7b3d888285095a295ab9e393560a69f30b (patch) | |
tree | a609717d7d41c89947079f49856cb5325119d7f9 /src/gui | |
parent | f9c1374417b17c45f84884e9ca0327910d187898 (diff) | |
download | manaverse-a285bd7b3d888285095a295ab9e393560a69f30b.tar.gz manaverse-a285bd7b3d888285095a295ab9e393560a69f30b.tar.bz2 manaverse-a285bd7b3d888285095a295ab9e393560a69f30b.tar.xz manaverse-a285bd7b3d888285095a295ab9e393560a69f30b.zip |
Use skin option textOffsetY in item shortcut container.
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/widgets/itemshortcutcontainer.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/widgets/itemshortcutcontainer.cpp b/src/gui/widgets/itemshortcutcontainer.cpp index 50155fa92..dcafa2233 100644 --- a/src/gui/widgets/itemshortcutcontainer.cpp +++ b/src/gui/widgets/itemshortcutcontainer.cpp @@ -206,7 +206,7 @@ void ItemShortcutContainer::draw(Graphics *const graphics) mForegroundColor, spell->getSymbol(), itemX + mTextOffsetX, - itemY + mBoxHeight / 2); + itemY + mTextOffsetY); } } else if (skillDialog != nullptr) @@ -231,7 +231,7 @@ void ItemShortcutContainer::draw(Graphics *const graphics) mForegroundColor, skill->data->shortName, itemX + mTextOffsetX, - itemY + mBoxHeight / 2); + itemY + mTextOffsetY); } } } @@ -353,7 +353,7 @@ void ItemShortcutContainer::safeDraw(Graphics *const graphics) mForegroundColor, spell->getSymbol(), itemX + mTextOffsetX, - itemY + mBoxHeight / 2); + itemY + mTextOffsetY); } } else if (skillDialog != nullptr) @@ -378,7 +378,7 @@ void ItemShortcutContainer::safeDraw(Graphics *const graphics) mForegroundColor, skill->data->shortName, itemX + mTextOffsetX, - itemY + mBoxHeight / 2); + itemY + mTextOffsetY); } } } |