mirror of
https://github.com/unanmed/HumanBreak.git
synced 2026-11-27 12:24:30 +08:00
fix: 布局闪烁
This commit is contained in:
1 parent
8fcc570e5d
commit
0ed7e03f40
5 files changed
+18
-12
No files matched your search
@@ -179,8 +179,6 @@ export class UiController extends Focus<IndexedGameUi> {
|
||||
v.ui.emit('close');
|
||||
});
|
||||
if (this.stack.length === 0) {
|
||||
console.log(this.hold);
|
||||
|
||||
if (!this.hold) this.emit('end');
|
||||
this.hold = false;
|
||||
}
|
||||
|
||||
@@ -56,7 +56,9 @@ hook.once('mounted', () => {
|
||||
});
|
||||
mainUi.on('end', () => {
|
||||
ui.style.display = 'none';
|
||||
core.closePanel();
|
||||
try {
|
||||
core.closePanel();
|
||||
} catch {}
|
||||
});
|
||||
fixedUi.on('start', () => {
|
||||
fixed.style.display = 'block';
|
||||
|
||||
Reference in new issue
Block a user