mirror of
https://github.com/maputnik/editor.git
synced 2026-08-24 22:17:25 +00:00
Remove logging.
This commit is contained in:
@@ -191,11 +191,9 @@ export default class App extends React.Component {
|
|||||||
handleKeyPress(e) {
|
handleKeyPress(e) {
|
||||||
if(navigator.platform.toUpperCase().indexOf('MAC') >= 0) {
|
if(navigator.platform.toUpperCase().indexOf('MAC') >= 0) {
|
||||||
if(e.metaKey && e.shiftKey && e.keyCode === 90) {
|
if(e.metaKey && e.shiftKey && e.keyCode === 90) {
|
||||||
console.log("redo");
|
|
||||||
this.onRedo(e);
|
this.onRedo(e);
|
||||||
}
|
}
|
||||||
else if(e.metaKey && e.keyCode === 90) {
|
else if(e.metaKey && e.keyCode === 90) {
|
||||||
console.log("undo");
|
|
||||||
this.onUndo(e);
|
this.onUndo(e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user