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