Skip to content

Commit

Permalink
Don't join all spaces with BlockingPopup.
Browse files Browse the repository at this point in the history
Otherwise webview is hidden somehow and everything glitches.
  • Loading branch information
john-preston committed Aug 4, 2022
1 parent 6fd8864 commit ac7bfd7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion webview/webview_dialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,9 @@ PopupResult ShowBlockingPopup(PopupArgs &&args) {
auto running = true;
auto widget = base::unique_qptr<Ui::SeparatePanel>();
InvokeQueued(&context, [&] {
widget = base::make_unique_q<Ui::SeparatePanel>(args.parent);
widget = base::make_unique_q<Ui::SeparatePanel>(Ui::SeparatePanelArgs{
.parent = args.parent,
});
const auto raw = widget.get();

const auto titleHeight = args.title.isEmpty()
Expand Down

0 comments on commit ac7bfd7

Please sign in to comment.