Revert "Add multi parameter for slider and number settings"

This reverts part of commit 6cac091c27.
This commit is contained in:
Samuel Elliott 2018-03-04 23:20:39 +00:00
parent 6cac091c27
commit 05b3abd290
No known key found for this signature in database
GPG Key ID: 8420C7CDE43DC4D6
2 changed files with 0 additions and 36 deletions

View File

@ -12,22 +12,4 @@ import Setting from './basesetting';
export default class NumberSetting extends Setting {
/**
* The current value.
*/
get value() {
return this.args.value * this.multi;
}
set value(value) {
this.setValue(value / this.multi);
}
/**
* A number to multiply the value by.
*/
get multi() {
return this.args.multi || 1;
}
}

View File

@ -12,17 +12,6 @@ import Setting from './basesetting';
export default class SliderSetting extends Setting {
/**
* The current value.
*/
get value() {
return this.args.value * this.multi;
}
set value(value) {
this.setValue(value / this.multi);
}
/**
* The value to use when the setting doesn't have a value.
*/
@ -58,13 +47,6 @@ export default class SliderSetting extends Setting {
return this.args.unit || '';
}
/**
* A number to multiply the value by.
*/
get multi() {
return this.args.multi || 1;
}
/**
* An object mapping points on the slider to labels.
*/