Possible workaround for action blocked messages when using the default vehicle ui and the micromenu.
This commit is contained in:
+5
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user