https://linen.dev logo
Join Discord
Powered by
# haxe-ui
  • b

    bright-gpu-74537

    03/09/2023, 8:46 AM
    release / debug / final?
  • h

    happy-agent-4114

    03/09/2023, 8:46 AM
    release, testing debug now
  • b

    bright-gpu-74537

    03/09/2023, 8:46 AM
    yup, no space on web...
  • b

    bright-gpu-74537

    03/09/2023, 8:47 AM
    my guess is an openfl / lime / flixel issue
  • h

    happy-agent-4114

    03/09/2023, 8:47 AM
    running in debug and I'm not seeing errors
  • b

    bright-gpu-74537

    03/09/2023, 8:48 AM
    which "errors"? You mean space works on debug? It doesnt work for me at all in web
  • h

    happy-agent-4114

    03/09/2023, 8:48 AM
    no I mean no console errors
  • h

    happy-agent-4114

    03/09/2023, 8:48 AM
    it still has no spaces
  • b

    bright-gpu-74537

    03/09/2023, 8:49 AM
    im guess its an openfl issue because in haxeui-flixel the textfield is just an openfl textfield
  • h

    happy-agent-4114

    03/09/2023, 8:49 AM
    I'm gonna try electron and see if it still breaks
  • h

    happy-agent-4114

    03/09/2023, 8:49 AM
    just out of curiosity
  • b

    bright-gpu-74537

    03/09/2023, 8:49 AM
    its also nothing to do with your layout:
    <textarea />
    also has no spaces
  • h

    happy-agent-4114

    03/09/2023, 8:51 AM
    oh weird
  • h

    happy-agent-4114

    03/09/2023, 8:51 AM
    are you on openfl git
  • b

    bright-gpu-74537

    03/09/2023, 8:52 AM
    weirdly... haxeui-openfl is fine... so thats good news
  • b

    bright-gpu-74537

    03/09/2023, 8:53 AM
    ill debug it later... i dont have time at time at the moment
  • h

    happy-agent-4114

    03/09/2023, 8:53 AM
    it's also 3 am for me, I need to sleep lol
  • h

    happy-agent-4114

    03/09/2023, 8:55 AM
    I wasn't on git openfl but it doesn't work on that either so idk lol
  • h

    happy-agent-4114

    03/09/2023, 8:55 AM
    anyway time zones
  • b

    bright-gpu-74537

    03/09/2023, 8:57 AM
    well, my hunch has changed, the fact haxeui-openfl works and haxeui-flixel doesnt (even though haxeui-flixel uses an openfl textfield) indicates its haxeui-flixel that is doing something that is breaking it
  • c

    cool-musician-79004

    03/09/2023, 9:02 AM
    I can go crazy and spin a basic http server inside NeoVim 😝
  • c

    cool-musician-79004

    03/09/2023, 9:02 AM
    Will give that a check, thanks
  • c

    cool-musician-79004

    03/09/2023, 9:03 AM
    Once hxWidgets is compiled it runs standalone right? doesn't require anything in the target host
  • b

    bright-gpu-74537

    03/09/2023, 9:04 AM
    nope, you can statically link everything... you dont have to, but it makes more sense (imo) to do so (in general, not just for haxeui-hxwidgets)
  • c

    cool-musician-79004

    03/09/2023, 9:14 AM
    Yeah, I'm super fan of standalone binaries
  • p

    purple-businessperson-14467

    03/09/2023, 8:49 PM
    What is the best way to switch assets based on targets. Like svg vs png. I use svg in html5 and png for others using same project
  • p

    purple-businessperson-14467

    03/09/2023, 8:51 PM
    I was thinking I would use a static variable that defined the extension that changes on target but wasn't sure if there was a better way?
  • b

    bright-gpu-74537

    03/09/2023, 8:52 PM
    im not really sure there is a "best practice" here tbh... ideally all backends would support svg, but thats probably not feasible
  • b

    bright-gpu-74537

    03/09/2023, 8:53 PM
    so i think your static
    isSvg
    is probably the best option, though its kinda crappy as it means you have to set everything at runtime
  • p

    purple-businessperson-14467

    03/09/2023, 8:53 PM
    sure. static variable works. thoughts on excluding embedding resources based on target (png vs svg)
1...159115921593...1687Latest