Skip to content

Commit

Permalink
Fix window drag #159
Browse files Browse the repository at this point in the history
  • Loading branch information
Levminer committed Dec 12, 2021
1 parent 97960cc commit ef63142
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 19 deletions.
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
}
},
"dependencies": {
"@6c65726f79/custom-titlebar": "^0.5.0",
"@6c65726f79/custom-titlebar": "^0.5.1",
"@electron/remote": "^2.0.1",
"@levminer/lib": "file:lib",
"@levminer/speakeasy": "^1.3.1",
Expand Down
2 changes: 1 addition & 1 deletion src/global.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions src/partials/layout/layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
border-style: solid;
border-color: theme("borderColor.default", currentColor);
user-select: none;
-webkit-user-drag: none;
-webkit-app-region: no-drag;
}

/* body */
Expand Down
11 changes: 3 additions & 8 deletions src/partials/layout/titlebar.scss
Original file line number Diff line number Diff line change
@@ -1,23 +1,18 @@
/* titlebar */
#inWwZYhAUIn1Em9I4xse {
.custom-titlebar {
font-family: Arial, Helvetica, sans-serif;
color: white !important;
}

/* controls */
#Dkn6ACv01kUS9jSTUukB {
display: none !important;
}

/* submenu */
._QlZaSdX5nLPcY6VswOO {
.custom-titlebar-submenu {
background-color: rgb(0, 0, 0) !important;
border: 1px solid rgb(40, 40, 40);
text-transform: capitalize !important;
}

/* separator */
.QwagKaGf3ay8KUEwaA29 {
.custom-titlebar-separator {
margin: 8px 0px !important;
background-color: rgb(40, 40, 40) !important;
opacity: 1 !important;
Expand Down

0 comments on commit ef63142

Please sign in to comment.