]> gerrit.simantics Code Review - simantics/platform.git/commit
Use paddings when calculating Text bounds. 66/4666/1
authorMarko Luukkainen <marko.luukkainen@semantum.fi>
Fri, 5 Mar 2021 13:12:24 +0000 (15:12 +0200)
committerMarko Luukkainen <marko.luukkainen@semantum.fi>
Fri, 5 Mar 2021 13:12:24 +0000 (15:12 +0200)
commit0c2820087f01f066d43eff0bacd3e63a87121889
treeb14ae150f098343001ca41825102bc38db5d5e3e
parent197f65594b46aaa087ac4d9bb6cb5514376377ca
Use paddings when calculating Text bounds.

Allow external implementations to use bounds calculation without
re-using cached data.

gitlab #676

Change-Id: I9277f45189c45c5e5845a194633e2becd0f2abdb
bundles/org.simantics.diagram/src/org/simantics/diagram/elements/TextElementHandler.java