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

    fast-rain-20339

    07/02/2020, 12:07 AM
    Hm, even specifying stuff through a
    <item  / >
    isn't working 🤔
  • f

    fast-rain-20339

    07/02/2020, 12:59 AM
    Working on haxeui-kha's textfields now. Just noticed this very minor potential kerning issue, leaving here
  • f

    fast-rain-20339

    07/02/2020, 12:59 AM
    (note the 'bundling' of the J's. Different fonts so maybe not the best comparison :P)
  • f

    fast-rain-20339

    07/02/2020, 1:01 AM
    Ah, another bug, golly. Holding a key down to insert many characters works with Kha native, but not with Kha html5. Probably on the Kha side. Very minor though, who holds keys? Holding arrow keys works on all.
  • b

    brave-kangaroo-30399

    07/02/2020, 2:31 AM
    Looks like the bottom font defines a bunch of j's together while the top one only defines 2 or 3 together?
  • b

    brave-kangaroo-30399

    07/02/2020, 2:32 AM
    But not sure how kha works and if it deals with that at all
  • f

    fast-rain-20339

    07/02/2020, 2:32 AM
    Ah hadn't zoomed into the bottom one too closely, but yeah, there might be some grouping there too.
  • f

    fast-rain-20339

    07/02/2020, 2:32 AM
    I suspect it may be 'hinting' or whatever it's called, where the font is aligned to the pixel grid
  • b

    brave-kangaroo-30399

    07/02/2020, 2:33 AM
    Text is weird
  • f

    fast-rain-20339

    07/02/2020, 2:33 AM
    And hard to program :/ Even this text selection code I've been working with has me grappling between hacky variables and verbose code 😐
  • b

    brave-kangaroo-30399

    07/02/2020, 2:33 AM
    🙂
  • b

    brave-kangaroo-30399

    07/02/2020, 2:34 AM
    I've been in OpenFL's text code for years, trust me I know
  • f

    fast-rain-20339

    07/02/2020, 2:34 AM
    Ah, the words of a veteran 😛
  • f

    fast-rain-20339

    07/02/2020, 2:38 AM
    Heyy, I got it, huzzah. Introduced another state variable for where the text selection was opened, which I wanted to avoid, but it works well and the code is simpler. Just got to make sure the correct state is maintained (eg. clearing
    _mouseSelectionOpenPosition
    on
    mouseUp
    )
  • f

    fast-rain-20339

    07/02/2020, 6:12 AM
    Is haxeui.org down for anyone?
  • b

    brainy-machine-50829

    07/02/2020, 6:16 AM
    Yep, down for me too.
  • f

    few-quill-25805

    07/02/2020, 6:16 AM
    me too
  • b

    brainy-machine-50829

    07/02/2020, 6:18 AM
    Maybe Ian didn't yet update dns.
  • f

    fast-rain-20339

    07/02/2020, 6:26 AM
    @User ?
  • b

    bright-gpu-74537

    07/02/2020, 7:34 AM
    looking at it now, i had to go back to the old server because i screwed something up
  • b

    bright-gpu-74537

    07/02/2020, 7:34 AM
    but now that server isnt responding
  • b

    bright-gpu-74537

    07/02/2020, 7:34 AM
    nice
  • f

    fast-rain-20339

    07/02/2020, 7:34 AM
    Aha yeah I've been there, good luck
  • b

    bright-gpu-74537

    07/02/2020, 7:35 AM
    So the experimental branch didnt work?
  • f

    fast-rain-20339

    07/02/2020, 7:35 AM
    No, unfortunately, and no errors to. Is there anything I can do to help diagnose?
  • f

    fast-rain-20339

    07/02/2020, 7:35 AM
    On the other hand, had a fair bit of luck with textfield changes
  • b

    bright-gpu-74537

    07/02/2020, 7:35 AM
    experimental branch of both haxeui-kha and haxeui-core?
  • f

    fast-rain-20339

    07/02/2020, 7:37 AM
    Yep, cloned into
    /libs/
    and also set with
    haxelib dev haxeui-_ haxeui-_
    . Haxelib printed it strangely when I did
    haxelib list
    but the changes were there, as far as I could tell
  • f

    fast-rain-20339

    07/02/2020, 7:37 AM
    On my own branch of haxeui-kha now, for the textfield changes
  • b

    bright-gpu-74537

    07/02/2020, 7:39 AM
    ok, ill check it out a little later, got some things to do first, i tested it with haxeui-html5 and it worked fine, ie, .resource could be a string or a js.html.ImageElement
1...300301302...1687Latest