Fix macos Full Screen Toggle menu item label (#11633)
This commit is contained in:
parent
d0af17e601
commit
2b4cc0a525
2 changed files with 6 additions and 3 deletions
|
@ -732,7 +732,7 @@ enum {
|
|||
[super performClose:sender];
|
||||
}
|
||||
|
||||
- (void)toggleFullScreen:(id)sender {
|
||||
- (void)toggleFullScreenMode:(id)sender {
|
||||
if (shell_->simple_fullscreen())
|
||||
shell_->SetSimpleFullScreen(!shell_->IsSimpleFullScreen());
|
||||
else
|
||||
|
@ -1178,7 +1178,7 @@ void NativeWindowMac::SetFullScreen(bool fullscreen) {
|
|||
if (fullscreen == IsFullscreen())
|
||||
return;
|
||||
|
||||
[window_ toggleFullScreen:nil];
|
||||
[window_ toggleFullScreenMode:nil];
|
||||
}
|
||||
|
||||
bool NativeWindowMac::IsFullscreen() const {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue