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

    icy-zebra-52882

    03/18/2023, 10:18 AM
    don't think so, now the initial selectedIndex seems to be -1, where clicking the button does correctly set to 0 and calls the onChange event
  • i

    icy-zebra-52882

    03/18/2023, 10:18 AM
    but after that, it doesn't work
  • i

    icy-zebra-52882

    03/18/2023, 10:18 AM
    i.e. you still need selectedIndex to be -1 for it to call onChange
  • b

    bright-gpu-74537

    03/18/2023, 10:18 AM
    > selectedIndex seems to be -1 thats correct though, the initial index is -1...
  • i

    icy-zebra-52882

    03/18/2023, 10:19 AM
    yeah but before it just didn't show anything for the value
  • i

    icy-zebra-52882

    03/18/2023, 10:19 AM
    maybe it was unset before
  • b

    bright-gpu-74537

    03/18/2023, 10:19 AM
    what value? The selected index?
  • i

    icy-zebra-52882

    03/18/2023, 10:19 AM
    oh wait, that's because I had it only updating the label in the onChange so the label would be blank initially
  • b

    bright-gpu-74537

    03/18/2023, 10:20 AM
    yeah, before the dropdown wasnt sending an event, which is does now (which is correct)
  • i

    icy-zebra-52882

    03/18/2023, 10:21 AM
    https://plzlookat.mystupid.pictures/WindowsTerminal_lLfVeSteCq.webm
  • i

    icy-zebra-52882

    03/18/2023, 10:21 AM
    works for the first click, while selectedIndex is -1, after that onChange isn't called
  • b

    bright-gpu-74537

    03/18/2023, 10:21 AM
    hmmm, thats weird... works for me... lemme just double check, maybe im being thick
  • a

    ambitious-knife-25690

    03/18/2023, 10:22 AM
    hmmmmmmm cod? battlefield? or real life war zone + programming? 😄
  • b

    bright-gpu-74537

    03/18/2023, 10:22 AM
    oh, hmmm... you are right, after the first time it doesnt send the event... thats odd
  • i

    icy-zebra-52882

    03/18/2023, 10:23 AM
    ???
  • a

    ambitious-knife-25690

    03/18/2023, 10:23 AM
    video has sound
  • i

    icy-zebra-52882

    03/18/2023, 10:23 AM
    oh damn lol
  • i

    icy-zebra-52882

    03/18/2023, 10:23 AM
    forgot it recorded that
  • i

    icy-zebra-52882

    03/18/2023, 10:24 AM
    red orchestra 😅
  • a

    ambitious-knife-25690

    03/18/2023, 10:24 AM
    nbd 😄
  • a

    ambitious-knife-25690

    03/18/2023, 10:24 AM
    its actually nice to hear something when i click play on something in discord haa
  • b

    bright-gpu-74537

    03/18/2023, 10:28 AM
    alright... can you try that? 🙏 🤞
  • i

    icy-zebra-52882

    03/18/2023, 10:29 AM
    works!
  • i

    icy-zebra-52882

    03/18/2023, 10:30 AM
    danke
  • b

    bright-gpu-74537

    03/18/2023, 10:31 AM
    np - good find... composites and native were bugged...
  • b

    bright-gpu-74537

    03/18/2023, 10:31 AM
    granted its kinda an edge case (ish), but still very valid
  • i

    icy-zebra-52882

    03/18/2023, 10:34 AM
    next stop: finding a bug that only triggers on a full moon on the first of a new japanese calendar era
  • s

    straight-oyster-87301

    03/19/2023, 6:31 PM
    hi ian, I am developing my own UI framework in a different language and I was interested in how you decided on the UI framework and how you managed to make the same code render more or less the same across different platforms. Me and armanbilge from the typelevel scala server are talking about how we would abstract over scala JVM and scala.js, and he is saying the hard part is making the same code render more or less the same across platforms
  • b

    bright-gpu-74537

    03/19/2023, 6:38 PM
    are you trying to do native stuff, or render everything yourself? I mean, will you be in complete control of what you render, or are you going to offload it to some type of native lib? (gtk, wxwidgets, qt, etc)
  • s

    straight-oyster-87301

    03/19/2023, 6:39 PM
    I'm offloading it to Swing and html5
1...160516061607...1687Latest