fix: restore text dimensions (#5432)

* fix: restore text dimensions

* fix tests

* update readme & changelog

* reduce API surface area by always refreshing dimensions for full `restore()`
This commit is contained in:
David Luzar 2022-10-28 23:31:56 +02:00 committed by GitHub
parent 36bf17cf59
commit c8f6e3faa8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 51 additions and 21 deletions

View file

@ -10,6 +10,7 @@ export {
newElement,
newTextElement,
updateTextElement,
refreshTextDimensions,
newLinearElement,
newImageElement,
duplicateElement,