Skip to content

Commit

Permalink
Merge pull request #2 from Resike/master
Browse files Browse the repository at this point in the history
Several bug fixes, closes #1
  • Loading branch information
funkydude authored Oct 30, 2017
2 parents bb69b78 + eb0a9ca commit b34239c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion core.lua
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ do
return
end
retrievedErrors[deSz.originalId] = deSz
end
local function hasTransmitFacilities()
if fakeAddon then return true end
Expand Down
16 changes: 8 additions & 8 deletions sack.lua
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ local function updateSackDisplay(forceRefresh)
end
if not eo then eo = currentSackContents[currentErrorIndex] end
if not eo then eo = currentSackContents[size] end
if currentSackSession == -1 then currentSackSession = eo.session end
if currentSackSession == -1 and eo then currentSackSession = eo.session end

if size > 0 then
local source = nil
Expand Down Expand Up @@ -133,10 +133,10 @@ local function setActiveMethod(tab)
searchBox:Hide()
sessionLabel:Show()
wipe(searchResults)
if searchThrough then
--[[if searchThrough then
wipe(searchThrough)
searchThrough = nil
end
end]]

state = type(tab) == "table" and tab:GetName() or tab
updateSackDisplay(true)
Expand Down Expand Up @@ -273,17 +273,17 @@ local function createBugSack()
sessionLabel = CreateFrame("Button", nil, window)
sessionLabel:SetNormalFontObject("GameFontNormalLeft")
sessionLabel:SetHighlightFontObject("GameFontHighlightLeft")
sessionLabel:SetPoint("TOPLEFT", titlebg, 6, -4)
sessionLabel:SetPoint("BOTTOMRIGHT", countLabel, "BOTTOMLEFT", -4, 1)
sessionLabel:SetPoint("TOPLEFT", titlebg, 6, -1)
sessionLabel:SetPoint("BOTTOMRIGHT", titlebg, "BOTTOMRIGHT", -26, 1)
sessionLabel:SetScript("OnHide", function()
window:StopMovingOrSizing()
end)
sessionLabel:SetScript("OnMouseUp", function()
--[[sessionLabel:SetScript("OnMouseUp", function()
window:StopMovingOrSizing()
end)
sessionLabel:SetScript("OnMouseDown", function()
window:StartMoving()
end)
end)]]
sessionLabel:SetScript("OnDoubleClick", function()
sessionLabel:Hide()
searchLabel:Show()
Expand Down Expand Up @@ -334,7 +334,7 @@ local function createBugSack()
searchBox:SetScript("OnTextChanged", filterSack)
searchBox:SetAutoFocus(false)
searchBox:SetPoint("TOPLEFT", searchLabel, "TOPRIGHT", 6, 1)
searchBox:SetPoint("BOTTOMRIGHT", countLabel, "BOTTOMLEFT", -3, -1)
searchBox:SetPoint("BOTTOMRIGHT", titlebg, "BOTTOMRIGHT", -26, 1)
searchBox:Hide()

nextButton = CreateFrame("Button", "BugSackNextButton", window, "UIPanelButtonTemplate")
Expand Down

0 comments on commit b34239c

Please sign in to comment.