|
|
@ -151,7 +151,7 @@ function keydown(e, state, context) { |
|
|
|
document.querySelector('.debug-window').classList.toggle('dhide'); |
|
|
|
document.querySelector('.debug-window').classList.toggle('dhide'); |
|
|
|
} else if (e.code === 'KeyZ') { |
|
|
|
} else if (e.code === 'KeyZ') { |
|
|
|
if (e.ctrlKey) { |
|
|
|
if (e.ctrlKey) { |
|
|
|
queue_event(state, endo_event(state)); |
|
|
|
queue_event(state, undo_event(state)); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
state.zoomdown = true; |
|
|
|
state.zoomdown = true; |
|
|
|
} |
|
|
|
} |
|
|
|