Commit 8874be0
committed
Use Async Dialog, Reduce Window Wait Time
Uses an async version of `NSPanel`'s `runModal` method to call the `onDialogPresented` at the same time as the modal's appearance. Prevents a bug where the welcome window cannot be dismissed in that callback.1 parent 28848ff commit 8874be0
File tree
1 file changed
+7
-7
lines changed- Sources/WelcomeWindow/Model
1 file changed
+7
-7
lines changedLines changed: 7 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
190 | 190 | | |
191 | 191 | | |
192 | 192 | | |
193 | | - | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
194 | 198 | | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | | - | |
| 199 | + | |
199 | 200 | | |
200 | | - | |
201 | | - | |
| 201 | + | |
202 | 202 | | |
203 | 203 | | |
204 | 204 | | |
| |||
0 commit comments