|
@@ -15,6 +15,7 @@ class SetShadowValueCommand extends Command {
|
|
|
|
|
|
this.type = 'SetShadowValueCommand';
|
|
|
this.name = editor.strings.getKey( 'command/SetShadowValue' ) + ': ' + attributeName;
|
|
|
+ this.updatable = true;
|
|
|
|
|
|
this.object = object;
|
|
|
this.attributeName = attributeName;
|
|
@@ -37,6 +38,12 @@ class SetShadowValueCommand extends Command {
|
|
|
|
|
|
}
|
|
|
|
|
|
+ update( cmd ) {
|
|
|
+
|
|
|
+ this.newValue = cmd.newValue;
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
toJSON() {
|
|
|
|
|
|
const output = super.toJSON( this );
|