legodude17 / VanillaUIExpanded

5 stars 3 forks source link

Fixed overlay settings data structure error #5

Closed mthiel closed 2 years ago

mthiel commented 2 years ago

Short-circuiting in conditional logic was preventing overlays parent node from being checked consistently. Re-arranged order to ensure this is consistent in all cases. Fixes error on settings page close.

mthiel commented 2 years ago

Fixes https://github.com/mthiel/VanillaUIExpanded/issues/1

legodude17 commented 2 years ago

Already fixed by me, but I haven't committed it yet.

mthiel commented 2 years ago

Thanks, your change has resolved this for me too.