[SSE mobile] Fix bug 51160
This commit is contained in:
parent
4ada95809b
commit
050c030962
|
@ -4,6 +4,7 @@ export class storeFocusObjects {
|
||||||
constructor() {
|
constructor() {
|
||||||
makeObservable(this, {
|
makeObservable(this, {
|
||||||
focusOn: observable,
|
focusOn: observable,
|
||||||
|
changeFocus: action,
|
||||||
_focusObjects: observable,
|
_focusObjects: observable,
|
||||||
_cellInfo: observable,
|
_cellInfo: observable,
|
||||||
resetFocusObjects: action,
|
resetFocusObjects: action,
|
||||||
|
@ -17,10 +18,14 @@ export class storeFocusObjects {
|
||||||
}
|
}
|
||||||
|
|
||||||
focusOn = undefined;
|
focusOn = undefined;
|
||||||
|
|
||||||
|
changeFocus(isObj) {
|
||||||
|
this.focusOn = isObj ? 'obj' : 'cell';
|
||||||
|
}
|
||||||
|
|
||||||
_focusObjects = [];
|
_focusObjects = [];
|
||||||
|
|
||||||
resetFocusObjects(objects) {
|
resetFocusObjects(objects) {
|
||||||
this.focusOn = 'obj';
|
|
||||||
this._focusObjects = objects;
|
this._focusObjects = objects;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -56,7 +61,6 @@ export class storeFocusObjects {
|
||||||
_cellInfo;
|
_cellInfo;
|
||||||
|
|
||||||
resetCellInfo (cellInfo) {
|
resetCellInfo (cellInfo) {
|
||||||
this.focusOn = 'cell';
|
|
||||||
this._cellInfo = cellInfo;
|
this._cellInfo = cellInfo;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue