theripper93 / enhancedcombathud

GNU General Public License v3.0
31 stars 37 forks source link

Potential bug fix for button panels #154

Closed Saibot393 closed 5 months ago

Saibot393 commented 5 months ago

It seems like every so often the below error occurs preventing the macro button panel from rendering. From what i gather that would mean, that the macro button panel tries to open before the html of the argon hud is ready. This change should at least prevent the error from occurring. image

theripper93 commented 5 months ago

i don't like ignoring the problem, i implemented an alternate solution

Saibot393 commented 5 months ago

Shouldn't it be this._renderingElement[0] instead of this._renderingElement? This is the error i get instead now: image

theripper93 commented 5 months ago

Whops, fixed