graphstream/gs-core

Mouseclick at wrong position in embedded javafx gui

Closed this issue · 2 comments

N4tus commented

I am viewing a graph in javafx using the FxViewer to embed the canvas in an existing gui. However for an ui event (a mouse press event for example) on a node to be registered i need to click where the node would've been if the canvas was rendered at top-left 0-0.

Hi!

This issue is related to graphstream/gs-ui-javafx#21 I think. Can you try it ?

N4tus commented

Thank you for your fast response. That was indeed the problem and it works now like intended.