Fix Transform tool CMD modifier on OSX

This commit is contained in:
Julian Descottes 2016-06-05 00:25:41 +02:00
parent 014a1d418f
commit c0f0445544

View file

@ -7,7 +7,7 @@
ns.AbstractTransformTool.prototype.applyTransformation = function (evt) {
var allFrames = evt.shiftKey;
var allLayers = evt.ctrlKey;
var allLayers = pskl.utils.UserAgent.isMac ? evt.metaKey : evt.ctrlKey;
this.applyTool_(evt.altKey, allFrames, allLayers);