ESOUI

ESOUI (https://www.esoui.com/forums/index.php)
-   AddOn Help/Support (https://www.esoui.com/forums/forumdisplay.php?f=164)
-   -   Tooltips Missing Elder Bar (https://www.esoui.com/forums/showthread.php?t=10237)

vazelle 06/19/22 02:56 AM

Tooltips Missing Elder Bar
 
Hello first time posting here and sorry if I made mistake. I want to try to fix https://www.esoui.com/downloads/info...rReloaded.html myself while waiting for the author to update it because the bar tooltips don't show after the High Isle update.

Learn a bit of addon coding yesterday and gather some clues from other addons with a similar issue and I think it's about draw layer stuff which I'm still in process of learning. Can anyone guide me or show me how to make the addon tooltips work again? Thanks before.

Baertram 06/19/22 09:43 AM

Find the control where the tooltip shows on as you move the mouse above, we will name it "<control>" here.
Either search in the lua files for OnMouseEnter or at the XML files for that.
This control could be a button and a texture control, which should be behind the button, shows above it now -> making the texture intercept the OnMouseEnter of the button and thus it looks as if nothing happens anymore as you move the mouse above that control.

To fix this, and you are right, you need to set the draw tier/layer/level of the button to something higher than the texture, which should show behind the button.
You can do this by changing
Lua Code:
  1. <control>:SetDrawTier(DT_MEDIUM)
  2. <control>:SetDrawLayer(DL_CONTROLS)
  3. <control>:SetDrawLevel(1)
Or if the control is defined in XML only you must add the attributes at the XML line where that control is defined, e.g.
Code:

<BUTTON name="<control>" ... tier="MEDIUM" layer="CONTROLS" level="1" ...

vazelle 06/19/22 09:46 PM

Sir Baertram you're a genius! I love you man I'm able to fix this myself OMG. Can post the fix here or at the mod page if anyone wants. :banana: Thank you so much again.

Prove

Baertram 06/19/22 10:43 PM

You are welcome. Glad it worked.

Post it to the addon comments at best so the dev sees it at a glance and would be able to update, if/once returned.

vazelle 06/19/22 11:00 PM

Roger that and done, thanks again sir :)


All times are GMT -6. The time now is 12:56 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI