* Layout modal wait pane * 布局模态等待面板
()
| 348 | * 布局模态等待面板 |
| 349 | */ |
| 350 | protected layoutModalWaitPane(): void { |
| 351 | if (!this._modalWaitPane) return; |
| 352 | |
| 353 | if (this._contentArea && this._frame) { |
| 354 | const pt = this._frame.localToGlobal(0, 0); |
| 355 | const localPt = this.globalToLocal(pt.x, pt.y); |
| 356 | this._modalWaitPane.setXY( |
| 357 | localPt.x + this._contentArea.x, |
| 358 | localPt.y + this._contentArea.y |
| 359 | ); |
| 360 | this._modalWaitPane.setSize(this._contentArea.width, this._contentArea.height); |
| 361 | } else { |
| 362 | this._modalWaitPane.setSize(this.width, this.height); |
| 363 | } |
| 364 | } |
| 365 | |
| 366 | /** |
| 367 | * Close modal wait indicator |
no test coverage detected