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

    brave-kangaroo-30399

    05/29/2019, 7:42 PM
    Oh I thought we got rid of asComponent
  • b

    brave-kangaroo-30399

    05/29/2019, 7:42 PM
    It might just be null
  • q

    quick-king-64105

    05/29/2019, 8:04 PM
    Does that mean I can just remove asComponent or what?
  • q

    quick-king-64105

    05/29/2019, 8:04 PM
    Or am I just behind or...?
  • q

    quick-king-64105

    05/29/2019, 8:05 PM
    I've almost got that minimal case together if you wanted to check it instead of waiting for me to get my brains together. Got distracted with a KH stream from the guy who originally created the project I'm working on.
  • q

    quick-king-64105

    05/29/2019, 8:15 PM
    It makes no sense, becasue it happens during the text reflow, but if I just load text in, it's fine.
  • q

    quick-king-64105

    05/29/2019, 8:15 PM
    Other than the fact that it's quite slow.
  • q

    quick-king-64105

    05/29/2019, 8:19 PM
    Hold on, let me poke this a bit.
  • b

    brave-kangaroo-30399

    05/29/2019, 8:48 PM
    Idk maybe, pretty sure it’s not necessary
  • b

    brave-kangaroo-30399

    05/29/2019, 8:49 PM
    Oh I wanted to get rid of it but haven’t yet
  • q

    quick-king-64105

    05/29/2019, 10:07 PM
    Okay. Can I just gank it out of that function then without breaking anything?
  • b

    brave-kangaroo-30399

    05/29/2019, 11:31 PM
    I’m pretty sure Ian’s recent changes made it so you could
    this.
    all those properties instead of having to go through the cast
  • q

    quick-king-64105

    05/29/2019, 11:58 PM
    The puzzle I've got is why it works for the minimal case and not for the code I've got, even if I swap the classes out.
  • q

    quick-king-64105

    05/29/2019, 11:58 PM
    I think the issue may be elsewhere, but I'm still investigating.
  • q

    quick-king-64105

    05/29/2019, 11:59 PM
    On a personal note, This is really my issue with relying on macros/etc; traditionally, it's not unheard of for such things to obstruct the source of errors.
  • q

    quick-king-64105

    05/29/2019, 11:59 PM
    I'm growing a conviction the bug may not necessarily be in haxeui, however, so that much is good.
  • q

    quick-king-64105

    05/30/2019, 12:03 AM
    I should be more clear; the only noteworthy distinction which I have not, as of yet, eliminated, is the class inheritance structure being different between the two. In the case I tried to put together for you to examine, it's one specific class at one specific point; in my actual code, it's a different class at that same point.
  • q

    quick-king-64105

    05/30/2019, 12:05 AM
    I'm talking around it a bit because it may imply something kinda "yeowch" until I at least have some proof I'm on the right track, but it takes time to rewrite code to test that in the actual use case itself (as opposed to building a carefully crafted example that may miss other factors I'm not aware of).
  • q

    quick-king-64105

    05/30/2019, 3:23 AM
    Still haven't figured it out. But the good news (?) is that that specific theory was wrong.
  • b

    bright-gpu-74537

    05/30/2019, 6:58 AM
    yeah, i think think asComponent is needed anymore in haxeui-flixel, it was put there to get away from having to upcast "this" to a "Component" to get info from it, but it shouldnt be needed anymore
  • b

    bright-gpu-74537

    05/30/2019, 6:58 AM
    that said though, it should still work (unless haxeui-flixel has been changed), its just not needed anymore
  • b

    bright-gpu-74537

    05/30/2019, 6:59 AM
    a minimal sample of what you mean would probably be more useful that trying to describe an error 😃
  • q

    quick-king-64105

    05/30/2019, 2:48 PM
    That's the problem - I can't reproduce. It's still on my list.
  • b

    bright-gpu-74537

    05/30/2019, 3:03 PM
    btw, @loud-salesclerk-7438 - the way you use tableview is a little strange, not wrong, just a little strange...
  • b

    bright-gpu-74537

    05/30/2019, 3:03 PM
    im moving it to new-comp at the moment, well, rewriting it mostly, ill redo your sample when thats done of how i would do things
  • q

    quick-king-64105

    05/30/2019, 3:11 PM
    Quick heads up while my brain's in one piece - my medication and my painkillers don't mix, so I had to stop taking it, which is fine - I can deal in a quiet environment - but there's about to be a huge civil war festival basically right outside my window (I live on my town's square) for about 3-4 days. They woke me up this morning pounding tent stakes in, and it only gets worse. TL;DR : This might take a week.
  • b

    bright-gpu-74537

    05/30/2019, 3:12 PM
    rightyo - as and when 😃
  • l

    loud-salesclerk-7438

    05/30/2019, 3:20 PM
    well, my sample is a stripped down version from a project, that was using v1 and got converted to v2, so maybe that's where my strange way originates from or maybe I just misunderstood how things are supposed to work and settled with what worked... I remember having an issue with images not appearing in cells, or having incorrect scaling I can't wait to see your version of it it's good news that TableView will make it into new-comp, otherwise I would be stuck with whatever was latest master before your imminent new-comp merge
  • b

    bright-gpu-74537

    05/30/2019, 3:21 PM
    actually @loud-salesclerk-7438 - i take that back... i misread the code :D I thought you were using item renderers to add items to you table (just because i saw them in a loop) - but actually it was the column rendererers
  • b

    bright-gpu-74537

    05/30/2019, 3:21 PM
    😄
1...474849...1687Latest