- Fix meta/control seleccion
This commit is contained in:
committed by
Paulo Veiga
parent
81f9ffa5e9
commit
334206ab19
@@ -197,7 +197,7 @@ mindplot.Designer = new Class({
|
||||
var objects = model.getObjects();
|
||||
objects.forEach(function(object) {
|
||||
// Disable all nodes on focus but not the current if Ctrl key isn't being pressed
|
||||
if (!$defined(event) || (!event.ctrlKey && !event.metaKey)) {
|
||||
if (!$defined(event) || (!event.control && !event.meta)) {
|
||||
if (object.isOnFocus() && object != currentObject) {
|
||||
object.setOnFocus(false);
|
||||
}
|
||||
|
Reference in New Issue
Block a user