Parcourir la source

Editor: Fix ctor call of Command.

Mugen87 il y a 6 ans
Parent
commit
6509b0076a
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      editor/js/commands/SetColorCommand.js

+ 1 - 1
editor/js/commands/SetColorCommand.js

@@ -13,7 +13,7 @@
 
 var SetColorCommand = function ( editor, object, attributeName, newValue ) {
 
-	Command.call( editor, this );
+	Command.call( this, editor );
 
 	this.type = 'SetColorCommand';
 	this.name = 'Set ' + attributeName;