mirror of
https://github.com/momo5502/emulator.git
synced 2026-01-23 21:51:02 +00:00
Fix flickering
This commit is contained in:
@@ -217,8 +217,8 @@ export class Output extends React.Component<OutputProps, FullOutputState> {
|
||||
}
|
||||
|
||||
this.setState({
|
||||
width: this.outputRef.current.offsetWidth,
|
||||
height: this.outputRef.current.offsetHeight,
|
||||
width: this.outputRef.current.offsetWidth - 1,
|
||||
height: this.outputRef.current.offsetHeight - 1,
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user