post icon improvement
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
Aux = {
|
||||
version = '2.15.6',
|
||||
version = '2.15.7',
|
||||
blizzard_ui_shown = false,
|
||||
orig = {},
|
||||
}
|
||||
|
||||
@@ -31,9 +31,9 @@
|
||||
<Anchor point="TOPRIGHT"><Offset><AbsDimension x="-4" y="0"/></Offset></Anchor>
|
||||
</Anchors>
|
||||
<frames>
|
||||
<Frame name="$parentItem" inherits="AuxItemTemplate">
|
||||
<Button name="$parentItem" inherits="AuxItemTemplate">
|
||||
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="10" y="-10"/></Offset></Anchor></Anchors>
|
||||
</Frame>
|
||||
</Button>
|
||||
</frames>
|
||||
</frame>
|
||||
<Frame name="AuxPostAuctions" inherits="AuxFrameBoxTemplate">
|
||||
|
||||
+15
-8
@@ -9,14 +9,21 @@ function Aux.post_frame.create_frames(private, public)
|
||||
end
|
||||
ClearCursor()
|
||||
end)
|
||||
-- AuxPostParametersItemIconTexture:SetScript('OnEnter', function()
|
||||
-- if private.selected_item then
|
||||
-- Aux.info.set_tooltip(private.selected_item.itemstring, this, 'ANCHOR_RIGHT')
|
||||
-- end
|
||||
-- end)
|
||||
-- AuxPostParametersItemIconTexture:SetScript('OnLeave', function()
|
||||
-- GameTooltip:Hide()
|
||||
-- end)
|
||||
AuxPostParametersItem:SetScript('OnClick', function()
|
||||
local item_info = Aux.cursor_item()
|
||||
if item_info then
|
||||
public.select_item(item_info.item_key)
|
||||
end
|
||||
ClearCursor()
|
||||
end)
|
||||
AuxPostParametersItem:SetScript('OnEnter', function()
|
||||
if private.selected_item then
|
||||
Aux.info.set_tooltip(private.selected_item.itemstring, this, 'ANCHOR_RIGHT')
|
||||
end
|
||||
end)
|
||||
AuxPostParametersItem:SetScript('OnLeave', function()
|
||||
GameTooltip:Hide()
|
||||
end)
|
||||
|
||||
do
|
||||
local checkbox = CreateFrame('CheckButton', nil, AuxPostInventory, 'UICheckButtonTemplate')
|
||||
|
||||
Reference in New Issue
Block a user