Remove extra spaces.
This commit is contained in:
parent
f09e3f3835
commit
34a91434aa
1 changed files with 6 additions and 6 deletions
|
@ -1358,22 +1358,22 @@ void NativeWindowMac::SetVibrancy(const std::string& type) {
|
||||||
// they are available in the minimum SDK version
|
// they are available in the minimum SDK version
|
||||||
if (type == "selection") {
|
if (type == "selection") {
|
||||||
// NSVisualEffectMaterialSelection
|
// NSVisualEffectMaterialSelection
|
||||||
vibrancyType = static_cast<NSVisualEffectMaterial>( 4);
|
vibrancyType = static_cast<NSVisualEffectMaterial>(4);
|
||||||
} else if (type == "menu") {
|
} else if (type == "menu") {
|
||||||
// NSVisualEffectMaterialMenu
|
// NSVisualEffectMaterialMenu
|
||||||
vibrancyType = static_cast<NSVisualEffectMaterial>( 5);
|
vibrancyType = static_cast<NSVisualEffectMaterial>(5);
|
||||||
} else if (type == "popover") {
|
} else if (type == "popover") {
|
||||||
// NSVisualEffectMaterialPopover
|
// NSVisualEffectMaterialPopover
|
||||||
vibrancyType = static_cast<NSVisualEffectMaterial>( 6);
|
vibrancyType = static_cast<NSVisualEffectMaterial>(6);
|
||||||
} else if (type == "sidebar") {
|
} else if (type == "sidebar") {
|
||||||
// NSVisualEffectMaterialSidebar
|
// NSVisualEffectMaterialSidebar
|
||||||
vibrancyType = static_cast<NSVisualEffectMaterial>( 7);
|
vibrancyType = static_cast<NSVisualEffectMaterial>(7);
|
||||||
} else if (type == "medium-light") {
|
} else if (type == "medium-light") {
|
||||||
// NSVisualEffectMaterialMediumLight
|
// NSVisualEffectMaterialMediumLight
|
||||||
vibrancyType = static_cast<NSVisualEffectMaterial>( 8);
|
vibrancyType = static_cast<NSVisualEffectMaterial>(8);
|
||||||
} else if (type == "ultra-dark") {
|
} else if (type == "ultra-dark") {
|
||||||
// NSVisualEffectMaterialUltraDark
|
// NSVisualEffectMaterialUltraDark
|
||||||
vibrancyType = static_cast<NSVisualEffectMaterial>( 9);
|
vibrancyType = static_cast<NSVisualEffectMaterial>(9);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue