fix: Remove leftovers from a merge.
This commit is contained in:
parent
12da1862a0
commit
9158e2d989
@ -2108,15 +2108,6 @@ class App extends React.Component<AppProps, AppState> {
|
||||
this.setState({ isBindingEnabled: false });
|
||||
}
|
||||
|
||||
if (event.key === KEYS.PAGE_UP || event.key === KEYS.PAGE_DOWN) {
|
||||
let offsetY = this.state.height / this.state.zoom.value;
|
||||
if (event.key === KEYS.PAGE_DOWN) {
|
||||
offsetY = -offsetY;
|
||||
}
|
||||
const scrollY = this.state.scrollY + offsetY;
|
||||
this.setState({ scrollY });
|
||||
}
|
||||
|
||||
if (isArrowKey(event.key)) {
|
||||
const step =
|
||||
(this.state.gridSize &&
|
||||
|
Loading…
x
Reference in New Issue
Block a user