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

    bright-gpu-74537

    04/21/2023, 8:44 PM
    the commit messages are actually fine in context, the issue is the sheer number
  • b

    bright-gpu-74537

    04/21/2023, 8:45 PM
    anyways, i have a shortlist after going through 100s of commits and seeing what is remotely interesting
  • h

    hallowed-ocean-84954

    04/21/2023, 8:45 PM
    Time for a changelog ?
  • a

    ambitious-knife-25690

    04/21/2023, 8:45 PM
    but is there a nice and hassle free way to manage changelogs?
  • b

    bright-gpu-74537

    04/21/2023, 8:46 PM
    the git history is the changelog... its just long overdue
  • a

    ambitious-knife-25690

    04/21/2023, 8:46 PM
    I guess you might be able to have one auto update from a particular commit tag like
    [cl] added feature x
  • h

    hallowed-ocean-84954

    04/21/2023, 8:46 PM
    Ok. I thought you might be trying to exclude uninteresting changes
  • h

    hallowed-ocean-84954

    04/21/2023, 8:48 PM
    You can create a cl from commit messages. Saw a post somewhere about it.
  • b

    bright-gpu-74537

    04/21/2023, 8:48 PM
    i defo want to exclude uninteresting things, but maintaining a log of what i find interesting at the time is just another thing im going to have to prune when it comes to "release weekend"
  • h

    hallowed-ocean-84954

    04/21/2023, 8:48 PM
    Yeah I hear you
  • b

    bright-gpu-74537

    04/21/2023, 8:49 PM
    there are commits, that for sure, are important and interesting, but realistically, not worth mentioning because they are just "oh, so it works now" kinda things
  • h

    helpful-boots-41914

    04/22/2023, 3:47 AM
    In the kha target, for images is there a way to specify like a subimage of a texture? Like
    img.resource = new ImageFrame(kha.Image.texture, texX, texY, texW, texH)
    ? Anything like that?
  • b

    bright-gpu-74537

    04/22/2023, 10:27 AM
    1.6.0 released (write up here: https://community.haxeui.org/t/haxeui-v1-6-released)
  • r

    refined-greece-48002

    04/22/2023, 10:37 AM
    Is there a way to handle mouse middle clicks in haxeui? I can't seem to see it in the event enums so I'm guessing not, but just in case I missed it
  • r

    refined-greece-48002

    04/22/2023, 10:38 AM
    Congratulations on the release!!
  • b

    bright-gpu-74537

    04/22/2023, 10:44 AM
    im not sure actually, i dont think there is a specific event for it, but maybe there should be... 🤔
  • r

    refined-greece-48002

    04/22/2023, 10:45 AM
    Is there a way to worm it out of the existing events currently? (On Heaps backend, in this case)
  • b

    bright-gpu-74537

    04/22/2023, 10:46 AM
    does the event.data hold anything useful / interesting?
  • r

    refined-greece-48002

    04/22/2023, 10:47 AM
    it generally seems to hold null on mouse events, but I can't figure out if/where middle mouse is firing an event in the first place
  • b

    bright-gpu-74537

    04/22/2023, 10:48 AM
    MouseHelper is probably where you need to look (in haxeui-heaps)
  • b

    bright-gpu-74537

    04/22/2023, 10:48 AM
    what does capturing right / middle buttons look like in heaps?
  • b

    bright-gpu-74537

    04/22/2023, 10:49 AM
    i think just the .button prop on the hxd.Event?
  • r

    refined-greece-48002

    04/22/2023, 10:49 AM
    Checking it now
  • r

    refined-greece-48002

    04/22/2023, 10:52 AM
    Looks like it's in there, yeah - puts 2 in e.button
  • b

    bright-gpu-74537

    04/22/2023, 10:55 AM
    so, i supposed an interim solution would be to but that .button in the mouse event data that gets dispatched
  • b

    bright-gpu-74537

    04/22/2023, 10:56 AM
    looking that the ComponentImpl code, it looks like it will dispatch a
    haxe.ui.events.MouseEvent.RIGHT_MOUSE_DOWN
    in the case of any non-zero button
  • b

    bright-gpu-74537

    04/22/2023, 10:56 AM
    Copy code
    var type = button == 0 ? haxe.ui.events.MouseEvent.MOUSE_DOWN: haxe.ui.events.MouseEvent.RIGHT_MOUSE_DOWN;
  • r

    refined-greece-48002

    04/22/2023, 10:57 AM
    I literally just got there myself :D
  • r

    refined-greece-48002

    04/22/2023, 11:00 AM
    Well, I guess this would be a core change at first to support, since there is not currently a middle click event in itself
  • b

    bright-gpu-74537

    04/22/2023, 11:04 AM
    yeah, exactly, there is no event to map it too... that said, it might make sense to at least add a "button" prop to mouse event and populate that?
1...164116421643...1687Latest