From 821cbd5ba2084762675be7b73ed9b5dcfbc0aa02 Mon Sep 17 00:00:00 2001 From: Salikh Gurgenidze Date: Wed, 24 Dec 2025 23:22:29 +0400 Subject: [PATCH] fix: escape key close bags --- Core/Init.lua | 6 ++++++ Guda.toc | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/Core/Init.lua b/Core/Init.lua index 8944e2e..aa68ab4 100644 --- a/Core/Init.lua +++ b/Core/Init.lua @@ -236,4 +236,10 @@ function addon:Error(msg, a1, a2, a3, a4, a5, a6, a7) DEFAULT_CHAT_FRAME:AddMessage("|cFFFF0000[Error]|r |cFF00FF96Guda:|r " .. text) end +-- Add frames to UISpecialFrames so they can be closed with the Escape key +if not UISpecialFrames then UISpecialFrames = {} end +table.insert(UISpecialFrames, "Guda_BagFrame") +table.insert(UISpecialFrames, "Guda_BankFrame") +table.insert(UISpecialFrames, "Guda_SettingsPopup") + addon:Print("Loaded v%s", addon.VERSION) diff --git a/Guda.toc b/Guda.toc index 41e0b70..b205650 100644 --- a/Guda.toc +++ b/Guda.toc @@ -2,7 +2,7 @@ ## Title: Guda ## Notes: All-in-one bag and bank addon for Turtle WoW ## Author: Vati -## Version: 1.4.3 +## Version: 1.4.4 ## SavedVariables: Guda_DB ## SavedVariablesPerCharacter: Guda_CharDB