feat: add AVA2 minimap buttons and expanded taskbar entries

This commit is contained in:
shen
2026-10-17 16:40:54 -07:00
parent 3efa607908
commit e446ae8449
18 changed files with 504 additions and 22 deletions
+1 -1
View File
@@ -144,7 +144,7 @@ class PickupWindow(ui.Window):
class Entry(Action):
def __init__(self,window):
Action.__init__(self,None,0,0,64,'拾取',Toggle)
self.minimap=weakref.proxy(window.interface.wndMiniMap);self.SetWindowName('PickupEntry');self.OnUpdate()
self.minimap=weakref.proxy(window.interface.wndMiniMap);self.SetWindowName('PickupEntry');self.OnUpdate();self.Hide()
def OnUpdate(self):
x,y=self.minimap.GetGlobalPosition();self.SetPosition(max(4,x-68),y+200)