mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2024-11-27 01:06:09 +00:00
Add missing case for updating touch controls UI mode
This commit is contained in:
parent
41d1a84c76
commit
ca720e8a20
@ -331,6 +331,9 @@ export default class UI extends Phaser.GameObjects.Container {
|
|||||||
const doRevertMode = () => {
|
const doRevertMode = () => {
|
||||||
this.getHandler().clear();
|
this.getHandler().clear();
|
||||||
this.mode = this.modeChain.pop();
|
this.mode = this.modeChain.pop();
|
||||||
|
const touchControls = document.getElementById('touchControls');
|
||||||
|
if (touchControls)
|
||||||
|
touchControls.dataset.uiMode = Mode[this.mode];
|
||||||
};
|
};
|
||||||
|
|
||||||
if (noTransitionModes.indexOf(lastMode) === -1) {
|
if (noTransitionModes.indexOf(lastMode) === -1) {
|
||||||
|
Loading…
Reference in New Issue
Block a user