Merge pull request #42 from SunTrustDev/bugfix/belt-z-index

FIX: Ensure belt window is displayed above other windows when inventory is opened
This commit is contained in:
rtw1x1
2026-01-20 22:53:13 +00:00
committed by GitHub

View File

@@ -108,6 +108,8 @@ class BeltInventoryWindow(ui.ScriptWindow):
ui.ScriptWindow.__init__(self)
self.AddFlag("float")
self.isLoaded = 0
self.wndInventory = wndInventory
@@ -1106,6 +1108,9 @@ class InventoryWindow(ui.ScriptWindow):
if None != self.tooltipItem:
self.tooltipItem.SetTop()
if self.wndBelt:
self.wndBelt.SetTop()
def OnPressEscapeKey(self):
self.Close()
return True