mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-22 22:27:55 +01:00
Capture meta+- keys.
This commit is contained in:
parent
8de31d9edc
commit
c1318e496c
@ -238,6 +238,35 @@ mindplot.DesignerKeyboard = new Class({
|
|||||||
designer.selectAll();
|
designer.selectAll();
|
||||||
},
|
},
|
||||||
|
|
||||||
|
'meta+=':function (event) {
|
||||||
|
event.preventDefault();
|
||||||
|
event.stopPropagation();
|
||||||
|
|
||||||
|
designer.zoomIn();
|
||||||
|
},
|
||||||
|
|
||||||
|
'meta+-':function (event) {
|
||||||
|
event.preventDefault();
|
||||||
|
event.stopPropagation();
|
||||||
|
|
||||||
|
designer.zoomOut();
|
||||||
|
},
|
||||||
|
|
||||||
|
'ctrl++':function (event) {
|
||||||
|
event.preventDefault();
|
||||||
|
event.stopPropagation();
|
||||||
|
|
||||||
|
designer.zoomIn();
|
||||||
|
},
|
||||||
|
|
||||||
|
'ctrl+-':function (event) {
|
||||||
|
event.preventDefault();
|
||||||
|
event.stopPropagation();
|
||||||
|
|
||||||
|
designer.zoomOut();
|
||||||
|
},
|
||||||
|
|
||||||
|
|
||||||
'right':function (event) {
|
'right':function (event) {
|
||||||
var node = model.selectedTopic();
|
var node = model.selectedTopic();
|
||||||
if (node) {
|
if (node) {
|
||||||
|
Loading…
Reference in New Issue
Block a user