2020-12-09 18:05:51 +00:00
|
|
|
import {action, observable} from 'mobx';
|
|
|
|
|
|
|
|
export class storeApplicationSettings {
|
|
|
|
|
2021-01-19 17:34:11 +00:00
|
|
|
@observable unitMeasurement = 1;
|
2020-12-09 18:05:51 +00:00
|
|
|
@observable isSpellChecking = true;
|
|
|
|
@observable macrosMode = 0;
|
|
|
|
|
|
|
|
@action changeUnitMeasurement(value) {
|
|
|
|
this.unitMeasurement = +value;
|
|
|
|
}
|
|
|
|
|
|
|
|
@action changeSpellCheck(value) {
|
|
|
|
this.isSpellChecking = value;
|
|
|
|
}
|
|
|
|
|
|
|
|
@action changeMacrosSettings(value) {
|
|
|
|
this.macrosMode = +value;
|
|
|
|
}
|
|
|
|
}
|