瀏覽代碼

Editor: Fix ctor call of Command.

Mugen87 6 年之前
父節點
當前提交
6509b0076a
共有 1 個文件被更改,包括 1 次插入1 次删除
  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;