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,
{ w = 1024 + 512, h = 1024 })
configFrame:MakeMovable()
--configFrame.frame:SetScript("OnKeyUp", function(self, key)
-- if key == "ESCAPE" then
-- self:Hide()
-- end
--end)
configFrame.frame:SetScript("OnKeyUp", function(self, key)
if key == "ESCAPE" then
self:Hide()
end
end)
local colorIndex = 1
local colors = {