fix: Remove leftovers from a merge.

This commit is contained in:
Daniel J. Geiger 2023-01-02 12:48:53 -06:00
parent 12da1862a0
commit 9158e2d989

View File

@ -2108,15 +2108,6 @@ class App extends React.Component<AppProps, AppState> {
this.setState({ isBindingEnabled: false }); 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)) { if (isArrowKey(event.key)) {
const step = const step =
(this.state.gridSize && (this.state.gridSize &&