From 92f12757627d5614a38dd78028003453042905d7 Mon Sep 17 00:00:00 2001 From: Zzaphkiel <1278228162@qq.com> Date: Sat, 15 Jun 2024 23:02:22 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=9B=B4=E6=96=B0=E5=A4=A7?= =?UTF-8?q?=E4=B9=B1=E6=96=97=20BUFF=20=E6=97=B6=E4=BC=9A=E6=8A=A5?= =?UTF-8?q?=E9=94=99=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/components/profile_level_icon_widget.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/app/components/profile_level_icon_widget.py b/app/components/profile_level_icon_widget.py index ba868df..35261a8 100644 --- a/app/components/profile_level_icon_widget.py +++ b/app/components/profile_level_icon_widget.py @@ -138,12 +138,11 @@ def updateIcon(self, icon: str, xpSinceLastLevel=None, xpUntilNextLevel=None, te def updateAramInfo(self, info): self.aramInfo = info + if not self.mFlyout: return self.mFlyout.updateInfo(info) - self.mFlyout.hide() - self.mFlyout.show() def enterEvent(self, a0): if not self.aramInfo or self.mFlyout: @@ -271,7 +270,7 @@ def getPosition(self): return QPoint(x + dx, y) def updateInfo(self, info): - self.view.updateInfo() + self.view.updateInfo(info) class AramFlyoutView(FlyoutViewBase):