shdwcat / YUI

YUI - A UI system for GMS2
MIT License
49 stars 4 forks source link

Binding bug -- can't use plain `@` right before `then` #42

Closed shdwcat closed 1 year ago

shdwcat commented 1 year ago

This will work correctly: @ == $selected_item then $selected_bg_color else $item_bg_color This will not: $selected_item == @ then $selected_bg_color else $item_bg_color

In the latter case the scanner seems to be pulling the then into the binding path, resulting in it trying to evaluate a data binding with path then, which obviously doesn't work