mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-18 15:00:39 +02:00
fix: Remove leftovers from a merge.
This commit is contained in:
@@ -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 &&
|
||||||
|
Reference in New Issue
Block a user