Focus selection #297

  • Defect
  • meat_guy created this issue Jan 17, 2021

    I think I have found a bug. When you rotate focus health bar to 90 degrees and enable "unit selection" the selection are isn't rotated i.e. you can select focus by clicking on the place the vertical bar should be.

  • meat_guy added a tag Defect Jan 17, 2021
  • Parnic posted a comment Mar 24, 2021

    I have no idea how this could be happening. FocusHealth uses the same logic as the player health bar and I believe that one does rotate properly.

  • meat_guy posted a comment Mar 25, 2021

    I have just verified this in latest version and the issue is still here. I have made a screenshot to visualise it better.

  • Parnic posted a comment Mar 25, 2021

     I believe you, I'm just saying I don't know how I would fix it. The rotation feature is largely unsupported; I recommend people use one of the many horizontally-oriented unitframe mods if they want horizontal frames.

  • Parnic posted a comment Mar 25, 2021

    I looked into this further and it's a problem with the way I'm doing rotation on frames. I use the game's animation system to rotate the frame so that none of the math for displaying and filling the texture has to change. This animation feature apparently does not rotate clickable areas on secure frames for some reason. I found some forum posts from other users complaining of the same behavior in their addons.


    At this time, short of updating the entire mod to handle the rotation feature better, this is not something I'll be able to fix.


    I'd be happy to accept a pull request for updating the rotation feature to not use animations.

  • meat_guy posted a comment Mar 26, 2021

    Got it. Thank you very much for the explanation!


    I am not a Lua expert, however I will try to look whether I can do something with rotation.

To post a comment, please login or register a new account.