fixes os version check of vibrancy
This commit is contained in:
parent
1f75df0253
commit
a1ede4a4b0
1 changed files with 1 additions and 1 deletions
|
@ -1280,7 +1280,7 @@ void NativeWindowMac::SetAutoHideCursor(bool auto_hide) {
|
|||
}
|
||||
|
||||
void NativeWindowMac::SetVibrancy(const std::string& type) {
|
||||
if (!base::mac::IsOS10_10()) return;
|
||||
if (!base::mac::IsAtLeastOS10_10()) return;
|
||||
|
||||
NSView* vibrant_view = [window_ vibrantView];
|
||||
|
||||
|
|
Loading…
Reference in a new issue