Possible workaround for action blocked messages when using the default vehicle ui and the micromenu.
This commit is contained in:
parent
acab7f809f
commit
be945add01
1 changed files with 5 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue