Replace DialogScope with UnresponsiveSuppressor
The latter is global-wide.
This commit is contained in:
parent
c58bddffe3
commit
7848608198
11 changed files with 67 additions and 46 deletions
|
@ -960,10 +960,6 @@ void NativeWindowMac::SetContentProtection(bool enable) {
|
|||
: NSWindowSharingReadOnly];
|
||||
}
|
||||
|
||||
bool NativeWindowMac::HasModalDialog() {
|
||||
return [window_ attachedSheet] != nil;
|
||||
}
|
||||
|
||||
void NativeWindowMac::SetParentWindow(NativeWindow* parent) {
|
||||
if (is_modal())
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue