0
0
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:
David Bolack
2024-07-30 02:41:03 -05:00
parent 184462616f
commit dcdc8b4943

View File

@@ -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;