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:
@ -45,11 +45,6 @@ export const resizeTest = (
|
||||
return "rotation" as HandlerRectanglesRet;
|
||||
}
|
||||
|
||||
if (element.type === "text") {
|
||||
// can't resize text elements
|
||||
return false;
|
||||
}
|
||||
|
||||
const filter = Object.keys(handlers).filter((key) => {
|
||||
const handler = handlers[key as Exclude<HandlerRectanglesRet, "rotation">]!;
|
||||
if (!handler) {
|
||||
|
Reference in New Issue
Block a user