@@ -14,7 +14,11 @@ export default class MirrorMode extends React.Component {
// when this is called it returns the hotkey stroke
static getHotkeyStroke() {
return {
- stroke: ['x', 'x', 'b', 'b', 'a', 'y', 'a', 'y', 'ArrowDown', 'ArrowLeft'], ctrlKey: false, metaKey: false, altKey: false, shiftKey: false,
+ stroke: ['x', 'x', 'b', 'b', 'a', 'y', 'a', 'y', 'ArrowDown', 'ArrowLeft'],
+ ctrlKey: false,
+ metaKey: false,
+ altKey: false,
+ shiftKey: false,
};
}
@@ -11,7 +11,11 @@ export default class PageEdit extends React.Component {
- stroke: ['e'], ctrlKey: false, metaKey: false, altKey: false, shiftKey: false,
+ stroke: ['e'],
@@ -11,7 +11,11 @@ export default class ShowHotkeys extends React.Component {
- stroke: ['/'], ctrlKey: true, metaKey: true, altKey: false, shiftKey: false,
+ stroke: ['/'],
+ ctrlKey: true,
+ metaKey: true,