MCPcopy Create free account
hub / github.com/esengine/esengine / adjustModalLayer

Method adjustModalLayer

packages/fairygui/src/core/GRoot.ts:180–189  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

178 // Modal management | 模态管理
179
180 private adjustModalLayer(): void {
181 // Adjust modal layer position and visibility
182 if (this._modalLayer) {
183 let hasModal = false;
184 for (let i = this._popupStack.length - 1; i >= 0; i--) {
185 // Check if popup is modal
186 }
187 this._modalLayer.visible = hasModal;
188 }
189 }
190
191 /**
192 * Show modal wait

Callers 3

showPopupMethod · 0.95
showWindowMethod · 0.95
hideWindowImmediatelyMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected