Skip to content
This repository has been archived by the owner on Sep 1, 2023. It is now read-only.

Commit

Permalink
fix(window): titlebar now drags window by default
Browse files Browse the repository at this point in the history
  • Loading branch information
herteleo committed Apr 19, 2019
1 parent 8403169 commit 1a218fe
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/TabHeader.vue
Expand Up @@ -48,6 +48,6 @@ export default {
<style lang="postcss" module>
.title {
@apply flex-1 p-2 text-sm truncate;
-webkit-app-region: drag;
-webkit-user-select: none;
}
</style>
1 change: 1 addition & 0 deletions src/components/TitleBar.vue
Expand Up @@ -26,6 +26,7 @@ export default {
@apply flex items-center px-1 leading-none;
height: 2.4rem;
background-color: #0009;
-webkit-app-region: drag;
}
.indent {
Expand Down
1 change: 1 addition & 0 deletions src/components/TitleBarButton.vue
Expand Up @@ -45,6 +45,7 @@ export default {
<style lang="postcss" module>
.btn {
@apply p-2 leading-none appearance-none text-grey-dark;
-webkit-app-region: no-drag;
}
.blue:hover {
Expand Down
1 change: 0 additions & 1 deletion src/components/WindowControls.vue
Expand Up @@ -107,6 +107,5 @@ export default {
.spacer {
@apply flex-grow;
-webkit-app-region: drag;
}
</style>

0 comments on commit 1a218fe

Please sign in to comment.