mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-10 01:34:01 +00:00
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:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user