]> gerrit.simantics Code Review - simantics/platform.git/commit
Robustness fixes for inline SVG text editing on diagrams 11/1011/4
authorTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Fri, 22 Sep 2017 06:31:55 +0000 (09:31 +0300)
committerTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Fri, 22 Sep 2017 12:32:45 +0000 (15:32 +0300)
commitba07153e79390fea754342c51a1a669add711d95
treec039cdfb4b59eece3afc47d9d3763187f8d475c3
parent5aa280d62ca00cdb18f908045cd1a5fb5a6525fb
Robustness fixes for inline SVG text editing on diagrams

This fixes the code to not assume during scene graph rendering that the
canvas context is hosted by an AWTChassis.

refs #7458

Change-Id: Ibb9955424784a1d3c2069d6a668559d95d88b181
bundles/org.simantics.diagram/src/org/simantics/diagram/elements/DiagramNodeUtil.java
bundles/org.simantics.diagram/src/org/simantics/diagram/elements/EditorStateManager.java
bundles/org.simantics.diagram/src/org/simantics/diagram/elements/SVGNode.java