fix text box size
This commit is contained in:
@@ -76,6 +76,8 @@ export const useDrawingHandlers = () => {
|
||||
opacity: defaults.opacity,
|
||||
letterSpacing: defaults.letterSpacing,
|
||||
wordSpacing: defaults.wordSpacing,
|
||||
width: 150,
|
||||
height: defaults.fontSize || 24,
|
||||
};
|
||||
addObject(newText);
|
||||
setSelectedObjectId(newText.id);
|
||||
|
||||
Reference in New Issue
Block a user