Added more cases to note text update
This commit is contained in:
@@ -120,7 +120,7 @@ function Note({
|
||||
}
|
||||
|
||||
findFontSize();
|
||||
}, [note, noteWidth, noteHeight, notePadding]);
|
||||
}, [note, note.text, noteWidth, noteHeight, notePadding]);
|
||||
|
||||
const textRef = useRef();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user