Fixes paper real-time previews (#87068)

## About The Pull Request
The preview for writing on paper was _supposed_ to update in real time,
but was broken by the changes in #80616, simple one line fix.

## Why It's Good For The Game 
fixes #81868, I'm pretty sure the bit about newlines is either them
misremembering behavior or mixing it up with a bug in another UI.
## Changelog
🆑
fix: The preview for writing on paper updates in real-time again
/🆑
This commit is contained in:
siliconOpossum
2024-10-07 07:28:43 -05:00
committed by Majkl-J
parent 20b578685e
commit ee4105bd40

View File

@@ -390,7 +390,7 @@ export class PrimaryView extends Component {
bold={useBold} bold={useBold}
height="100%" height="100%"
backgroundColor={paper_color} backgroundColor={paper_color}
onChange={(e, text) => { onInput={(e, text) => {
setTextAreaText(text); setTextAreaText(text);
if (this.scrollableRef.current) { if (this.scrollableRef.current) {