Improved rules performance. Cleanup unused methods

This commit is contained in:
alonso.torres 2021-01-27 18:19:12 +01:00
parent 1273336622
commit 4c5ef5ac8c
7 changed files with 56 additions and 54 deletions

View file

@ -121,8 +121,8 @@
:id (:id shape)
:data-colors (retrieve-colors shape)
:transform (geom/transform-matrix shape)
:width (if (#{:auto-width} grow-type) 10000 width)
:height (if (#{:auto-height :auto-width} grow-type) 10000 height)
:width (if (#{:auto-width} grow-type) 100000 width)
:height (if (#{:auto-height :auto-width} grow-type) 100000 height)
:ref ref}
[:& text-content {:shape shape
:content (:content shape)