openfl / lime

A foundational Haxe framework for cross-platform development
https://lime.openfl.org/
MIT License
749 stars 359 forks source link

Set title to value instead of return of backend.setTitle #1789

Closed superpowers04 closed 1 month ago

joshtynjala commented 1 month ago

@superpowers04 Is __backend.setTitle(value) returning the wrong value?

superpowers04 commented 1 month ago

Oh god, I am dumb. I uhh thought __backend was a reference to a native library, completely forgetting that the compiler would throw a fit if the function returned something other than a String and completely ignoring that WindowBackend is a typedef at the bottom of the file to a normal Haxe class. I apologise