Possible workaround for action blocked messages when using the default vehicle ui and the micromenu.

This commit is contained in:
Hendrik Leppkes
2009-05-15 17:59:15 +02:00
parent acab7f809f
commit be945add01
+5 -1
View File
@@ -51,7 +51,7 @@ function MicroMenuMod:OnEnable()
MicroMenuMod.button_count = #buttons
self:RawHook("UpdateTalentButton", noopFunc, true)
self:SecureHook("UpdateTalentButton")
self:RawHook("AchievementMicroButton_Update", noopFunc, true)
AchievementMicroButton:SetScript("OnEvent", nil)
@@ -80,6 +80,10 @@ function MicroMenuMod:RestoreButtons()
self.bar:UpdateButtonLayout()
end
function MicroMenuMod:UpdateTalentButton()
self:RestoreButtons()
end
MicroMenuBar.button_width = 28
MicroMenuBar.button_height = 58
MicroMenuBar.vpad_offset = -21