mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-09 09:22:38 +00:00
Remove Livescrolling toggle hot-key.
This commit is contained in:
@@ -123,12 +123,6 @@ const Editor = createClass({
|
|||||||
const X_KEY = 88;
|
const X_KEY = 88;
|
||||||
const END_KEY = 35;
|
const END_KEY = 35;
|
||||||
const HOME_KEY = 36;
|
const HOME_KEY = 36;
|
||||||
const SCROLLLOCK_KEY = 145;
|
|
||||||
|
|
||||||
// Toggle Live-scrolling on Scroll Lock
|
|
||||||
if(e.keyCode == SCROLLLOCK_KEY) {
|
|
||||||
this.setState( {liveScroll: !this.props.liveScroll} );
|
|
||||||
}
|
|
||||||
|
|
||||||
if(!(e.ctrlKey || e.metaKey)) return;
|
if(!(e.ctrlKey || e.metaKey)) return;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user