Taint problem with SpellBookFrame
View Single Post
06-14-18, 04:18 PM
A Frostmaul Preserver
Join Date: Jun 2016
Originally Posted by
Try a secure hook instead, which is always the best course of action when tampering with a Blizzard frame. And not seeing your entire code, do you have an EnableMouse() call somewhere? Do you need one?
Doesn't need one, SpellBookFrame is already mouse-enabled.
That being said, I can't even get this to work.
self, value, scrollBar
I don't think I'm using it wrong, either. A non-secure hook works fine in that same scenario, but of course SpellBookPrevPageButton_OnClick() and SpellBookNextPageButton_OnClick() taint it if called from non-secure addon code.
Maybe they just don't want us being able to securely hook that.
View Public Profile
Send a private message to Ammako
Find More Posts by Ammako