resume position changed
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
Aux = {
|
Aux = {
|
||||||
version = '2.15.8',
|
version = '2.15.9',
|
||||||
blizzard_ui_shown = false,
|
blizzard_ui_shown = false,
|
||||||
orig = {},
|
orig = {},
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -428,14 +428,12 @@ end
|
|||||||
|
|
||||||
function private.enable_resume()
|
function private.enable_resume()
|
||||||
private.resume_button:Show()
|
private.resume_button:Show()
|
||||||
private.refresh_button:ClearAllPoints()
|
private.search_box:SetPoint('RIGHT', private.resume_button, 'LEFT', -4, 0)
|
||||||
private.refresh_button:SetPoint('RIGHT', private.resume_button, 'LEFT', -4, 0)
|
|
||||||
end
|
end
|
||||||
|
|
||||||
function private.disable_resume()
|
function private.disable_resume()
|
||||||
private.resume_button:Hide()
|
private.resume_button:Hide()
|
||||||
private.refresh_button:ClearAllPoints()
|
private.search_box:SetPoint('RIGHT', private.refresh_button, 'LEFT', -4, 0)
|
||||||
private.refresh_button:SetPoint('TOPRIGHT', -5, -8)
|
|
||||||
end
|
end
|
||||||
|
|
||||||
do
|
do
|
||||||
|
|||||||
+11
-11
@@ -17,17 +17,6 @@ function Aux.search_frame.create_frames(private, public)
|
|||||||
btn:SetScript('OnClick', private.next_search)
|
btn:SetScript('OnClick', private.next_search)
|
||||||
private.next_button = btn
|
private.next_button = btn
|
||||||
end
|
end
|
||||||
do
|
|
||||||
local btn = Aux.gui.button(AuxSearchFrame, 22)
|
|
||||||
btn:SetPoint('TOPRIGHT', -5, -8)
|
|
||||||
btn:SetWidth(70)
|
|
||||||
btn:SetHeight(25)
|
|
||||||
btn:SetText(GREEN_FONT_COLOR_CODE..'Resume'..FONT_COLOR_CODE_CLOSE)
|
|
||||||
btn:SetScript('OnClick', function()
|
|
||||||
public.execute('resume')
|
|
||||||
end)
|
|
||||||
private.resume_button = btn
|
|
||||||
end
|
|
||||||
do
|
do
|
||||||
local btn = Aux.gui.button(AuxSearchFrame, 22)
|
local btn = Aux.gui.button(AuxSearchFrame, 22)
|
||||||
btn:SetPoint('TOPRIGHT', -5, -8)
|
btn:SetPoint('TOPRIGHT', -5, -8)
|
||||||
@@ -40,6 +29,17 @@ function Aux.search_frame.create_frames(private, public)
|
|||||||
btn:Disable()
|
btn:Disable()
|
||||||
private.refresh_button = btn
|
private.refresh_button = btn
|
||||||
end
|
end
|
||||||
|
do
|
||||||
|
local btn = Aux.gui.button(AuxSearchFrame, 22)
|
||||||
|
btn:SetPoint('RIGHT', private.refresh_button, 'LEFT', -4, 0)
|
||||||
|
btn:SetWidth(70)
|
||||||
|
btn:SetHeight(25)
|
||||||
|
btn:SetText(GREEN_FONT_COLOR_CODE..'Resume'..FONT_COLOR_CODE_CLOSE)
|
||||||
|
btn:SetScript('OnClick', function()
|
||||||
|
public.execute('resume')
|
||||||
|
end)
|
||||||
|
private.resume_button = btn
|
||||||
|
end
|
||||||
do
|
do
|
||||||
local editbox = Aux.gui.editbox(AuxSearchFrame)
|
local editbox = Aux.gui.editbox(AuxSearchFrame)
|
||||||
editbox:SetMaxLetters(nil)
|
editbox:SetMaxLetters(nil)
|
||||||
|
|||||||
Reference in New Issue
Block a user