()
| 33 | // Close pipWindow programmatically |
| 34 | const closePipWindow = () => { |
| 35 | const w = pipWindow() |
| 36 | if (w != null) { |
| 37 | w.close() |
| 38 | setPipWindow(null) |
| 39 | } |
| 40 | } |
| 41 | |
| 42 | // Open new pipWindow |
| 43 | const requestPipWindow = (settings: string) => { |
| 44 | // We don't want to allow multiple requests. |