fix titlebar class on mac
This commit is contained in:
@@ -21,8 +21,7 @@ addPatch({
|
|||||||
],
|
],
|
||||||
|
|
||||||
getPlatformClass() {
|
getPlatformClass() {
|
||||||
if (isMac) return "platform-osx";
|
if (Settings.store.nativeTitleBar) return "platform-web";
|
||||||
if (!Settings.store.nativeTitleBar) return "platform-win";
|
return isMac ? "platform-osx" : "platform-win";
|
||||||
return "platform-web";
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user