Skip to content
This repository was archived by the owner on Jan 21, 2024. It is now read-only.

Commit 527e561

Browse files
committed
fix for buttons disappearing when dragging icons on bars with show grid disabled
1 parent 74ee4cb commit 527e561

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

Objects/ACTIONBUTTON.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ function ACTIONBUTTON:SetType()
192192
end
193193
]])
194194

195-
self:SetFrameRef("uiparent",UIParent)
195+
self:SetFrameRef("uiparent",UIParent)
196196
self:WrapScript(self, "OnHide", [[
197197
UIParent = self:GetFrameRef("uiparent")
198198
if (not self:GetParent():GetAttribute("concealed")) and (not UIParent:IsShown() == false) then

Objects/BUTTON.lua

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,6 @@ function BUTTON:CancelCooldownTimer(stopAnimation)
134134
if stopAnimation then
135135
CooldownFrame_Clear(self.Cooldown) --clear the cooldown frame
136136
end
137-
138-
self:UpdateObjectVisibility()
139137
end
140138

141139

0 commit comments

Comments
 (0)