Do not allow clicks on companion
This commit is contained in:
parent
8ab2d8c1fe
commit
dadcdc92ef
1 changed files with 2 additions and 2 deletions
|
|
@ -185,7 +185,7 @@ export class Companion {
|
||||||
}
|
}
|
||||||
|
|
||||||
handleClick() {
|
handleClick() {
|
||||||
const { companionState } = store.getState();
|
/*const { companionState } = store.getState();
|
||||||
let newCompanionState: CompanionState;
|
let newCompanionState: CompanionState;
|
||||||
|
|
||||||
if (companionState === CompanionState.ACTIVE) {
|
if (companionState === CompanionState.ACTIVE) {
|
||||||
|
|
@ -194,7 +194,7 @@ export class Companion {
|
||||||
newCompanionState = CompanionState.ACTIVE;
|
newCompanionState = CompanionState.ACTIVE;
|
||||||
}
|
}
|
||||||
|
|
||||||
store.setState({ companionState: newCompanionState });
|
store.setState({ companionState: newCompanionState });*/
|
||||||
}
|
}
|
||||||
|
|
||||||
handleMouseEnter() {
|
handleMouseEnter() {
|
||||||
|
|
|
||||||
Reference in a new issue