summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gui/widgets/itemshortcutcontainer.cpp8
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);
}
}
}