Skip to content

Commit

Permalink
Fix for original title bar style, then make buttons work again. Issue…
Browse files Browse the repository at this point in the history
…s popup hover state doesn't work yet though
  • Loading branch information
joethephish committed May 15, 2024
1 parent fdd5bc1 commit e82e82e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/main-process/projectWindow.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ const electronWindowOptions = {
height: 730,
minWidth: 350,
minHeight: 250,
titleBarStyle: 'default',
titleBarStyle: 'hidden',
titleBarOverlay: true,
webPreferences: {
preload: path.join(__dirname, '..', 'renderer', 'preload.js'),
nodeIntegration: true,
Expand Down
3 changes: 3 additions & 0 deletions app/renderer/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ h1.title {
margin: 0 auto;
max-width: 200px;
z-index: 1; /* On top of left/right buttons */
-webkit-app-region: no-drag;
}

.win32 #toolbar div.issuesSummary, .linux #toolbar div.issuesSummary {
Expand Down Expand Up @@ -168,6 +169,7 @@ img.issue-icon.warning {
width: 30px;
height: 30px;
background: none;
-webkit-app-region: no-drag;
}

#toolbar .button .icon {
Expand Down Expand Up @@ -199,6 +201,7 @@ img.issue-icon.warning {
background: white;
z-index: 10;
border: 1px solid #E2E2E2;
-webkit-app-region: no-drag;
}

.win32 #toolbar .issue-popup, .linux #toolbar .issue-popup {
Expand Down

0 comments on commit e82e82e

Please sign in to comment.