Totem module mouse interaction not working
Amuxix opened this issue ยท 3 comments
Having the totem module with the Allow mouse interaction
checked and right clicking on a totem symbol doesn't cancel it.
Tested using version 1.13.7 and wow 9.1 as a Brewmaster monk, trying to despawn the black ox statue
Dismissing doesn't work for any totem frame, unfortunately. I never did the work to support the secure execution stuff for totem dismissal since DestroyTotem() is a protected function.
I tried a bunch of stuff tonight to make it work, but none of them provided an ideal experience. The main problem is you can't arbitrarily show or hide protected frames in combat. If you keep them hidden until a totem is dropped, the player is probably in combat when they drop a totem which means the frame can't be shown. If you keep them shown but with no texture, then they block mouse interaction on a small part of the screen and feel like a bug. If anyone knows secure frames better than me, I'd be very happy to accept a PR to fix this.
I think vuhdo does something similar to be able to add focus mid fight to their frames, I notice it sometimes flickers an "empty" frame which I believe is related to this in some way. Maybe you could contact the maintainer for vuhdo to help you out on this?
Either way thanks for trying to fix this!