Escape now closes config

This commit is contained in:
2025-01-07 01:26:47 +01:00
parent eedadb0a3f
commit ece39790d2

View File

@@ -312,11 +312,11 @@ local configFrame = StaticGridFrame.new("HeimdallConfig",
40, 12, 40, 12,
{ w = 1024 + 512, h = 1024 }) { w = 1024 + 512, h = 1024 })
configFrame:MakeMovable() configFrame:MakeMovable()
--configFrame.frame:SetScript("OnKeyUp", function(self, key) configFrame.frame:SetScript("OnKeyUp", function(self, key)
-- if key == "ESCAPE" then if key == "ESCAPE" then
-- self:Hide() self:Hide()
-- end end
--end) end)
local colorIndex = 1 local colorIndex = 1
local colors = { local colors = {