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

    bright-gpu-74537

    06/15/2019, 3:05 PM
    yeah, all events are... i mean, haxeui-core doesnt even really know what an event really means (so to speak)
  • b

    brave-kangaroo-30399

    06/15/2019, 3:06 PM
    I'll do the quick fix in the backend then play around with it in a project, see if anything else is necessary
  • b

    bright-gpu-74537

    06/15/2019, 3:06 PM
    in fact, you already have
    FlxUIMouseEventManager
  • q

    quick-king-64105

    06/15/2019, 3:06 PM
    shrugs I'll be here, breaking things 😉
  • b

    brave-kangaroo-30399

    06/15/2019, 3:06 PM
    Yeah you're right I may be able to handle it in there
  • b

    brave-kangaroo-30399

    06/15/2019, 3:07 PM
    Idk, I'm also just assuming
    active
    gets set when states are disabled
  • b

    brave-kangaroo-30399

    06/15/2019, 3:07 PM
    I should double check
  • b

    bright-gpu-74537

    06/15/2019, 3:07 PM
    i think the screen should never be deactivated though... as you say, you'll need that for "clicked outside a dropdown, hide the dropdown list"
  • b

    bright-gpu-74537

    06/15/2019, 3:08 PM
    focus might be an issue here though
  • b

    bright-gpu-74537

    06/15/2019, 3:08 PM
    if you had a deactivated state and another ontop... then i think you could be tabbing all the disabled states too
  • b

    bright-gpu-74537

    06/15/2019, 3:10 PM
    can you override the "active" prop?
  • b

    bright-gpu-74537

    06/15/2019, 3:10 PM
    or is it "var active:Bool"
  • b

    bright-gpu-74537

    06/15/2019, 3:10 PM
    ?
  • b

    brave-kangaroo-30399

    06/15/2019, 3:11 PM
    It's
    (default, set)
  • b

    bright-gpu-74537

    06/15/2019, 3:11 PM
    ok, so wrt to the focus you could set "allowFocus" to whatever is set
  • b

    brave-kangaroo-30399

    06/15/2019, 3:12 PM
    Yeah
  • b

    bright-gpu-74537

    06/15/2019, 3:12 PM
    so maybe, for now at least, the way to handle it is the backend?
  • b

    brave-kangaroo-30399

    06/15/2019, 3:12 PM
    ... actually now I'm wondering if the substate mouse event thing has anything to do with haxeui...
  • b

    brave-kangaroo-30399

    06/15/2019, 3:12 PM
    I don't think the normal mouse manager would check either
  • b

    bright-gpu-74537

    06/15/2019, 3:13 PM
    no idea how the mouse manager works
  • b

    brave-kangaroo-30399

    06/15/2019, 3:14 PM
    Hmm
  • b

    brave-kangaroo-30399

    06/15/2019, 3:16 PM
    Yeah this doesn't work in flixel either
  • b

    brave-kangaroo-30399

    06/15/2019, 3:16 PM
    Welp
  • b

    bright-gpu-74537

    06/15/2019, 3:17 PM
    oh... so disabled sub states always get mouse events?
  • b

    brave-kangaroo-30399

    06/15/2019, 3:17 PM
    It doesn't set any property of the children, so yes
  • b

    bright-gpu-74537

    06/15/2019, 3:17 PM
    or inactive states i mean
  • b

    brave-kangaroo-30399

    06/15/2019, 3:18 PM
    It no longer updates the children, but they are still active and visible as far as mouse events are concerned
  • b

    bright-gpu-74537

    06/15/2019, 3:18 PM
    right
  • b

    bright-gpu-74537

    06/15/2019, 3:18 PM
    well, at least haxeui-flixel is the same as flixel 😄
  • b

    brave-kangaroo-30399

    06/15/2019, 3:23 PM
    I'll have to try it with real code, but it seems like it's a flixel thing
1...606162...1687Latest