Unresponsive to mouse clicks #885
Unanswered
LodeStarLearning
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm integrating SVG-Edit in a JavaFx application. The editor displays in a Chromium web browser inside a JavaFx dialog.
I can render SVG-Edit unresponsive to mouse clicks by:
adding Text
scaling Text
Exiting the browser with the text caret left inside the text element.
When I reopen the SVG graphic in SVG-Edit, no tool responds to mouse clicks until I re-enter the Text element and then click anywhere on the canvas in order to remove the text caret. Once I do that, everything responds normally.
When re-opening SVG-Edit, I attempt to reset the state with the following commands:
svgEditor.svgCanvas.clear();
svgEditor.svgCanvas.setResolution('960', '450');
svgEditor.updateCanvas(true);
Beta Was this translation helpful? Give feedback.
All reactions