feat: resize text element (#1650)

* feat: resize text element

* ignore small font size change that leads jankiness

Co-authored-by: dwelle <luzar.david@gmail.com>
This commit is contained in:
Daishi Kato
2020-05-28 07:17:15 +09:00
committed by GitHub
parent 5327e8a3dc
commit 7edcea9a93
4 changed files with 152 additions and 47 deletions

View File

@ -304,7 +304,7 @@ export const renderScene = (
handler[2],
handler[3],
);
} else if (locallySelectedElements[0].type !== "text") {
} else {
strokeRectWithRotation(
context,
handler[0],