From e5cdd67b71b9d26d5d8a4182a64379fe8a8b4f7a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 15 Aug 2016 20:14:43 +0300 Subject: Show selected skill cast offset in skill popup. --- src/gui/popups/skillpopup.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/gui') diff --git a/src/gui/popups/skillpopup.cpp b/src/gui/popups/skillpopup.cpp index 0fd8e2584..fa757b844 100644 --- a/src/gui/popups/skillpopup.cpp +++ b/src/gui/popups/skillpopup.cpp @@ -168,6 +168,13 @@ void SkillPopup::show(const SkillInfo *const skill, castStr = _("Self position"); break; } + if (skill->customOffsetX != 0 || + skill->customOffsetY != 0) + { + castStr.append(strprintf(" (%+d,%+d)", + skill->customOffsetX, + skill->customOffsetY)); + } mSkillCastType->setTextWrapped(strprintf( // TRANSLATORS: skill cast type _("Cast type: %s"), -- cgit v1.2.3-70-g09d2