bugfix
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
## SavedVariablesPerCharacter: AUX_SELL_SHORTCUT, AUX_BUY_SHORTCUT, AUX_OPEN_SELL, AUX_OPEN_BUY, AUX_INSTANT_BUYOUT, AUX_AUCTION_DURATION
|
||||
## SavedVariables: auxSellEntries
|
||||
core.xml
|
||||
control.xml
|
||||
|
||||
sell.xml
|
||||
buy.xml
|
||||
|
||||
@@ -477,32 +477,4 @@
|
||||
</Frame>
|
||||
</Frames>
|
||||
</Frame>
|
||||
|
||||
<Frame name="AuxBuyReport" frameStrata="FULLSCREEN_DIALOG" toplevel="true" parent="UIParent" enableMouse="true" hidden="true">
|
||||
<Size><AbsDimension x="400" y="180" /></Size>
|
||||
<Anchors><Anchor point="TOP"><Offset><AbsDimension x="0" y="-90"/></Offset></Anchor></Anchors>
|
||||
|
||||
<Backdrop bgFile="Interface\CharacterFrame\UI-Party-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
|
||||
<BackgroundInsets><AbsInset left="11" right="12" top="12" bottom="11"/></BackgroundInsets>
|
||||
<TileSize><AbsValue val="32"/></TileSize>
|
||||
<EdgeSize><AbsValue val="32"/></EdgeSize>
|
||||
</Backdrop>
|
||||
|
||||
<Frames>
|
||||
<SimpleHTML name="AuxBuyReportHTML">
|
||||
<Size><AbsDimension x="420" y="420" /></Size>
|
||||
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="30" y="-30"/></Offset></Anchor></Anchors>
|
||||
</SimpleHTML>
|
||||
|
||||
<Button inherits="UIPanelButtonTemplate" text="Close">
|
||||
<Size><AbsDimension x="100" y="22"/> </Size>
|
||||
<Anchors><Anchor point="BOTTOMRIGHT"><Offset><AbsDimension x="-20" y="15"/></Offset></Anchor></Anchors>
|
||||
<Scripts>
|
||||
<OnClick>
|
||||
AuxBuyReport:Hide()
|
||||
</OnClick>
|
||||
</Scripts>
|
||||
</Button>
|
||||
</Frames>
|
||||
</Frame>
|
||||
</Ui>
|
||||
+4
-4
@@ -31,7 +31,7 @@ function Aux.control.event_listener(event, action) -- async!
|
||||
|
||||
function self:start(self)
|
||||
Aux.util.set_add(event_listeners, listener)
|
||||
if not Aux.util.any(event_listeners, function(l) l.event == event end then
|
||||
if not Aux.util.any(event_listeners, function(l) return l.event == event end) then
|
||||
AuxControlFrame:RegisterEvent(event)
|
||||
end
|
||||
return self
|
||||
@@ -39,7 +39,7 @@ function Aux.control.event_listener(event, action) -- async!
|
||||
|
||||
function self:stop(self)
|
||||
Aux.util.set_remove(event_listeners, listener)
|
||||
if not Aux.util.any(event_listeners, function(l) l.event == event end then
|
||||
if not Aux.util.any(event_listeners, function(l) return l.event == event end) then
|
||||
AuxControlFrame:UnregisterEvent(event)
|
||||
end
|
||||
return self
|
||||
@@ -78,7 +78,7 @@ function Aux.control.on_next_update(callback)
|
||||
listener:set_action(function()
|
||||
listener:stop()
|
||||
callback()
|
||||
end
|
||||
end)
|
||||
|
||||
listener:start()
|
||||
end
|
||||
@@ -104,7 +104,7 @@ function Aux.control.on_next_event(event, callback)
|
||||
listener:set_action(function()
|
||||
listener:stop()
|
||||
ok = true
|
||||
end
|
||||
end)
|
||||
|
||||
listener:start()
|
||||
|
||||
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
<Ui xsi:schemaLocation="http://www.blizzard.com/wow/ui/">
|
||||
|
||||
<Script file="control.lua"/>
|
||||
|
||||
<Frame>
|
||||
<Scripts>
|
||||
<OnEvent>
|
||||
Aux.control.on_event()
|
||||
</OnEvent>
|
||||
<OnUpdate>
|
||||
Aux.control.on_update()
|
||||
</OnUpdate>
|
||||
</Scripts>
|
||||
</Frame>
|
||||
</Ui>
|
||||
@@ -395,6 +395,35 @@
|
||||
</EditBox>
|
||||
</frames>
|
||||
</frame>
|
||||
<Frame name="AuxBuyReport" frameStrata="FULLSCREEN_DIALOG" toplevel="true" parent="UIParent" enableMouse="true" hidden="true">
|
||||
<Size><AbsDimension x="400" y="180" /></Size>
|
||||
<Anchors><Anchor point="TOP"><Offset><AbsDimension x="0" y="-90"/></Offset></Anchor></Anchors>
|
||||
|
||||
<Backdrop bgFile="Interface\CharacterFrame\UI-Party-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
|
||||
<BackgroundInsets><AbsInset left="11" right="12" top="12" bottom="11"/></BackgroundInsets>
|
||||
<TileSize><AbsValue val="32"/></TileSize>
|
||||
<EdgeSize><AbsValue val="32"/></EdgeSize>
|
||||
</Backdrop>
|
||||
|
||||
<Frames>
|
||||
<SimpleHTML name="AuxBuyReportHTML">
|
||||
<Size><AbsDimension x="420" y="420" /></Size>
|
||||
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="30" y="-30"/></Offset></Anchor></Anchors>
|
||||
<FontString inherits="GameFontHighlightSmall"/>
|
||||
<FontStringHeader1 inherits="GameFontNormal"/>
|
||||
</SimpleHTML>
|
||||
|
||||
<Button inherits="UIPanelButtonTemplate" text="Close">
|
||||
<Size><AbsDimension x="100" y="22"/> </Size>
|
||||
<Anchors><Anchor point="BOTTOMRIGHT"><Offset><AbsDimension x="-20" y="15"/></Offset></Anchor></Anchors>
|
||||
<Scripts>
|
||||
<OnClick>
|
||||
AuxBuyReport:Hide()
|
||||
</OnClick>
|
||||
</Scripts>
|
||||
</Button>
|
||||
</Frames>
|
||||
</Frame>
|
||||
</Frames>
|
||||
</Frame>
|
||||
</Ui>
|
||||
Reference in New Issue
Block a user