diff options
Diffstat (limited to 'src/gui/widgets/itemshortcutcontainer.cpp')
-rw-r--r-- | src/gui/widgets/itemshortcutcontainer.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/gui/widgets/itemshortcutcontainer.cpp b/src/gui/widgets/itemshortcutcontainer.cpp index bfb8fef0d..e1f6bafee 100644 --- a/src/gui/widgets/itemshortcutcontainer.cpp +++ b/src/gui/widgets/itemshortcutcontainer.cpp @@ -576,7 +576,8 @@ void ItemShortcutContainer::mouseMoved(MouseEvent &event) if (spell && viewport) { spellPopup->setItem(spell); - spellPopup->view(viewport->mMouseX, viewport->mMouseY); + spellPopup->view(viewport->mMouseX, + viewport->mMouseY); } else { @@ -591,8 +592,10 @@ void ItemShortcutContainer::mouseMoved(MouseEvent &event) if (!skill) return; - skillPopup->show(skill); - skillPopup->position(viewport->mMouseX, viewport->mMouseY); + skillPopup->show(skill, + toInt(itemColor, int)); + skillPopup->position(viewport->mMouseX, + viewport->mMouseY); } } |