mirror of
https://github.com/anyproto/anytype-ts.git
synced 2025-06-08 05:57:02 +09:00
removed header styles for macos 10
This commit is contained in:
parent
8f68cdeeef
commit
c36d3d0140
12 changed files with 14 additions and 76 deletions
|
@ -208,13 +208,7 @@ function createWindow () {
|
|||
if (process.platform == 'darwin') {
|
||||
app.dock.setIcon(image);
|
||||
param.icon = path.join(__dirname, '/electron/icon.icns');
|
||||
|
||||
const a = systemVersion.split('.');
|
||||
if (a.length && (a[0] >= 11)) {
|
||||
param.trafficLightPosition = { x: 20, y: 18 };
|
||||
} else {
|
||||
param.trafficLightPosition = { x: 20, y: 10 };
|
||||
};
|
||||
param.trafficLightPosition = { x: 20, y: 18 };
|
||||
};
|
||||
|
||||
if (process.platform == 'win32') {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue