Closed Wetxius closed 1 year ago
We should be okay for the moment. As far as I can tell, the entire point of that mixin is to define OnDragStop as a function that does nothing.
ActionBarActionButtonDerivedMixin = CreateFromMixins(ActionBarActionButtonMixin);
function ActionBarActionButtonDerivedMixin:OnDragStop() end
in tullaRange, we hook the OnLoad event from ActionBarActionButtonMixin
local f = EnumerateFrames()
while f do
if f.OnLoad == ActionBarActionButtonMixin.OnLoad then
actionButton_OnLoad(f)
end
f = EnumerateFrames(f)
end
-- grab later ones, too
hooksecurefunc(ActionBarActionButtonMixin, "OnLoad", actionButton_OnLoad)
Because ActionBarActionButtonDerivedMixin doesn't redefine OnLoad, the code should still work as expected.
For me, color not worked on PTR until I manually change mixin to new one.
10.1.0-beta1
With mixin change:
On latest PTR build changed ActionBarActionButtonMixin. Now Blizzard use ActionBarActionButtonDerivedMixin https://github.com/Gethe/wow-ui-source/commit/9e8c71b7ef6c8dd03796d27bcae292e0ec0b75ba#diff-b1cfbbf99c2cbb68ef9f30e85812e5a736154dec48da4d5ff2ed082c6e89c54eL91 Need to change all hook ActionBarActionButtonMixin to ActionBarActionButtonDerivedMixin. Without that color not worked on PTR.