From 4f33dbd2006c1dd715ee4494876fc5abe874e3db Mon Sep 17 00:00:00 2001
From: Spit <19otari98@gmail.com>
Date: Thu, 2 Apr 2026 09:24:21 +0300
Subject: [PATCH] fix frame levels
---
AtlasLoot.toc | 2 +-
Core/AtlasLoot.xml | 26 +++++++++++++++++---------
2 files changed, 18 insertions(+), 10 deletions(-)
diff --git a/AtlasLoot.toc b/AtlasLoot.toc
index 4fd1a86..ee76268 100644
--- a/AtlasLoot.toc
+++ b/AtlasLoot.toc
@@ -3,7 +3,7 @@
## Notes: Shows possible loot from dungeon bosses and other sources.
## Author: Otari (overhaul/revamp, menu changes, bugfixes/updates), Lexie (Turtle WoW fixes/updates), Pepopo, MarcelineVQ (Kara40 loot), Shagu
## LegacyAuthor: Daviesh, Pompa (Turtle WoW World Bosses), Xerron (Turtle WoW World Bosses), Gurky (Turtle WoW 1.16/1.16.1 Dungeons)
-## Version: 3.3.4
+## Version: 3.3.5
## SavedVariablesPerCharacter: AtlasLootCharDB
## OptionalDeps: Alphamap, AtlasLoader, LootLink, ItemSync, HewdropLib, Ace2, EquipCompare, EQCompare
diff --git a/Core/AtlasLoot.xml b/Core/AtlasLoot.xml
index fa7d655..fbeb64e 100644
--- a/Core/AtlasLoot.xml
+++ b/Core/AtlasLoot.xml
@@ -404,7 +404,6 @@
this:RegisterForDrag("LeftButton");
- this:SetMovable(1);
this:SetBackdropColor(0.75, 0, 0.75);
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot");
AtlasLootDefaultFrame_Notice:SetText(AL["NoticeFrame"]);
@@ -443,7 +442,7 @@
-
@@ -607,7 +609,7 @@
AtlasLootMenuItem_OnClick();
- this:SetFrameLevel((this:GetParent()):GetFrameLevel() + 1);
+ this:SetFrameLevel(AtlasLootItemsFrame:GetFrameLevel() + 1);
@@ -697,7 +699,7 @@
AtlasLootItemsFrame_OnCloseButton();
- this:SetFrameLevel((this:GetParent()):GetFrameLevel() + 1);
+ this:SetFrameLevel(AtlasLootItemsFrame:GetFrameLevel() + 1);
@@ -1005,7 +1007,7 @@
-
+
@@ -1016,9 +1018,12 @@
AtlasLoot_NavButton_OnClick();
CloseDropDownMenus();
+
+ this:SetFrameLevel(AtlasLootItemsFrame:GetFrameLevel() + 1);
+
-
+
@@ -1034,9 +1039,12 @@
AtlasLoot_NavButton_OnClick();
CloseDropDownMenus();
+
+ this:SetFrameLevel(AtlasLootItemsFrame:GetFrameLevel() + 1);
+
-
+
@@ -1053,7 +1061,7 @@
CloseDropDownMenus();
- this:SetFrameLevel((this:GetParent()):GetFrameLevel() + 1);
+ this:SetFrameLevel(AtlasLootItemsFrame:GetFrameLevel() + 1);
@@ -1104,7 +1112,7 @@
- this:SetFrameLevel((this:GetParent()):GetFrameLevel() + 1);
+ this:SetFrameLevel(AtlasLootItemsFrame:GetFrameLevel() + 1);
if (AtlasLootItemsFrame.refresh) and ((AtlasLootItemsFrame.refresh[1] == "SearchResult") or (AtlasLootItemsFrame.refresh[1] == "WishList")) then
this:Disable();
else