Added more cases to note text update

This commit is contained in:
Mitchell McCaffrey 2021-01-03 10:45:43 +11:00
parent 02ecf9bffc
commit a3622979b8

View File

@ -120,7 +120,7 @@ function Note({
}
findFontSize();
}, [note, noteWidth, noteHeight, notePadding]);
}, [note, note.text, noteWidth, noteHeight, notePadding]);
const textRef = useRef();