mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2025-12-24 22:52:40 +00:00
Remove Livescrolling toggle hot-key.
This commit is contained in:
@@ -123,12 +123,6 @@ const Editor = createClass({
|
||||
const X_KEY = 88;
|
||||
const END_KEY = 35;
|
||||
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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user