mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
fix: Remove leftovers from a merge.
This commit is contained in:
parent
12da1862a0
commit
9158e2d989
1 changed files with 0 additions and 9 deletions
|
@ -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 &&
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue