fix frame levels
This commit is contained in:
+1
-1
@@ -3,7 +3,7 @@
|
|||||||
## Notes: Shows possible loot from dungeon bosses and other sources.
|
## 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
|
## 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)
|
## 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
|
## SavedVariablesPerCharacter: AtlasLootCharDB
|
||||||
## OptionalDeps: Alphamap, AtlasLoader, LootLink, ItemSync, HewdropLib, Ace2, EquipCompare, EQCompare
|
## OptionalDeps: Alphamap, AtlasLoader, LootLink, ItemSync, HewdropLib, Ace2, EquipCompare, EQCompare
|
||||||
|
|
||||||
|
|||||||
+17
-9
@@ -404,7 +404,6 @@
|
|||||||
<Scripts>
|
<Scripts>
|
||||||
<OnLoad>
|
<OnLoad>
|
||||||
this:RegisterForDrag("LeftButton");
|
this:RegisterForDrag("LeftButton");
|
||||||
this:SetMovable(1);
|
|
||||||
this:SetBackdropColor(0.75, 0, 0.75);
|
this:SetBackdropColor(0.75, 0, 0.75);
|
||||||
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot");
|
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot");
|
||||||
AtlasLootDefaultFrame_Notice:SetText(AL["NoticeFrame"]);
|
AtlasLootDefaultFrame_Notice:SetText(AL["NoticeFrame"]);
|
||||||
@@ -443,7 +442,7 @@
|
|||||||
<Size x="120" y="20"/>
|
<Size x="120" y="20"/>
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
<Button name="AtlasLootItem_ParentTemplate" toplevel="true" virtual="true">
|
<Button name="AtlasLootItem_ParentTemplate" virtual="true">
|
||||||
<Size x="236" y="28"/>
|
<Size x="236" y="28"/>
|
||||||
<HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD"/>
|
<HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD"/>
|
||||||
<Layers>
|
<Layers>
|
||||||
@@ -595,6 +594,9 @@
|
|||||||
AtlasLootItem_OnClick();
|
AtlasLootItem_OnClick();
|
||||||
CloseDropDownMenus();
|
CloseDropDownMenus();
|
||||||
</OnClick>
|
</OnClick>
|
||||||
|
<OnShow>
|
||||||
|
this:SetFrameLevel(AtlasLootItemsFrame:GetFrameLevel() + 1);
|
||||||
|
</OnShow>
|
||||||
</Scripts>
|
</Scripts>
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
@@ -607,7 +609,7 @@
|
|||||||
AtlasLootMenuItem_OnClick();
|
AtlasLootMenuItem_OnClick();
|
||||||
</OnClick>
|
</OnClick>
|
||||||
<OnShow>
|
<OnShow>
|
||||||
this:SetFrameLevel((this:GetParent()):GetFrameLevel() + 1);
|
this:SetFrameLevel(AtlasLootItemsFrame:GetFrameLevel() + 1);
|
||||||
</OnShow>
|
</OnShow>
|
||||||
</Scripts>
|
</Scripts>
|
||||||
</Button>
|
</Button>
|
||||||
@@ -697,7 +699,7 @@
|
|||||||
AtlasLootItemsFrame_OnCloseButton();
|
AtlasLootItemsFrame_OnCloseButton();
|
||||||
</OnClick>
|
</OnClick>
|
||||||
<OnShow>
|
<OnShow>
|
||||||
this:SetFrameLevel((this:GetParent()):GetFrameLevel() + 1);
|
this:SetFrameLevel(AtlasLootItemsFrame:GetFrameLevel() + 1);
|
||||||
</OnShow>
|
</OnShow>
|
||||||
</Scripts>
|
</Scripts>
|
||||||
</Button>
|
</Button>
|
||||||
@@ -1005,7 +1007,7 @@
|
|||||||
<Anchor point="TOPLEFT" relativeTo="AtlasLootItem_29" relativePoint="BOTTOMLEFT"/>
|
<Anchor point="TOPLEFT" relativeTo="AtlasLootItem_29" relativePoint="BOTTOMLEFT"/>
|
||||||
</Anchors>
|
</Anchors>
|
||||||
</Button>
|
</Button>
|
||||||
<Button name="$parent_BACK" toplevel="true" inherits="OptionsButtonTemplate" hidden="true">
|
<Button name="$parent_BACK" inherits="OptionsButtonTemplate" hidden="true">
|
||||||
<Anchors>
|
<Anchors>
|
||||||
<Anchor point="BOTTOM">
|
<Anchor point="BOTTOM">
|
||||||
<Offset x="0" y="8"/>
|
<Offset x="0" y="8"/>
|
||||||
@@ -1016,9 +1018,12 @@
|
|||||||
AtlasLoot_NavButton_OnClick();
|
AtlasLoot_NavButton_OnClick();
|
||||||
CloseDropDownMenus();
|
CloseDropDownMenus();
|
||||||
</OnClick>
|
</OnClick>
|
||||||
|
<OnShow>
|
||||||
|
this:SetFrameLevel(AtlasLootItemsFrame:GetFrameLevel() + 1);
|
||||||
|
</OnShow>
|
||||||
</Scripts>
|
</Scripts>
|
||||||
</Button>
|
</Button>
|
||||||
<Button name="$parent_PREV" toplevel="true" inherits="AtlasLootPrevButtonTemplate">
|
<Button name="$parent_PREV" inherits="AtlasLootPrevButtonTemplate">
|
||||||
<Size x="32" y="32"/>
|
<Size x="32" y="32"/>
|
||||||
<NormalTexture file="Interface\Buttons\UI-SpellbookIcon-PrevPage-Up"/>
|
<NormalTexture file="Interface\Buttons\UI-SpellbookIcon-PrevPage-Up"/>
|
||||||
<PushedTexture file="Interface\Buttons\UI-SpellbookIcon-PrevPage-Down"/>
|
<PushedTexture file="Interface\Buttons\UI-SpellbookIcon-PrevPage-Down"/>
|
||||||
@@ -1034,9 +1039,12 @@
|
|||||||
AtlasLoot_NavButton_OnClick();
|
AtlasLoot_NavButton_OnClick();
|
||||||
CloseDropDownMenus();
|
CloseDropDownMenus();
|
||||||
</OnClick>
|
</OnClick>
|
||||||
|
<OnShow>
|
||||||
|
this:SetFrameLevel(AtlasLootItemsFrame:GetFrameLevel() + 1);
|
||||||
|
</OnShow>
|
||||||
</Scripts>
|
</Scripts>
|
||||||
</Button>
|
</Button>
|
||||||
<Button name="$parent_NEXT" toplevel="true" inherits="AtlasLootNextButtonTemplate">
|
<Button name="$parent_NEXT" inherits="AtlasLootNextButtonTemplate">
|
||||||
<Size x="32" y="32"/>
|
<Size x="32" y="32"/>
|
||||||
<NormalTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Up"/>
|
<NormalTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Up"/>
|
||||||
<PushedTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Down"/>
|
<PushedTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Down"/>
|
||||||
@@ -1053,7 +1061,7 @@
|
|||||||
CloseDropDownMenus();
|
CloseDropDownMenus();
|
||||||
</OnClick>
|
</OnClick>
|
||||||
<OnShow>
|
<OnShow>
|
||||||
this:SetFrameLevel((this:GetParent()):GetFrameLevel() + 1);
|
this:SetFrameLevel(AtlasLootItemsFrame:GetFrameLevel() + 1);
|
||||||
</OnShow>
|
</OnShow>
|
||||||
</Scripts>
|
</Scripts>
|
||||||
</Button>
|
</Button>
|
||||||
@@ -1104,7 +1112,7 @@
|
|||||||
<HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD"/>
|
<HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD"/>
|
||||||
<Scripts>
|
<Scripts>
|
||||||
<OnShow>
|
<OnShow>
|
||||||
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
|
if (AtlasLootItemsFrame.refresh) and ((AtlasLootItemsFrame.refresh[1] == "SearchResult") or (AtlasLootItemsFrame.refresh[1] == "WishList")) then
|
||||||
this:Disable();
|
this:Disable();
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user