Merge pull request #208 from resin-io/feat/window-drag

Allow window to be dragged from anywhere
This commit is contained in:
Juan Cruz Viotti 2016-03-13 15:52:55 -04:00
commit 78bb151387
2 changed files with 13 additions and 0 deletions

View File

@ -16,4 +16,5 @@
[ng-click] {
cursor: pointer;
-webkit-app-region: no-drag;
}

View File

@ -19,6 +19,18 @@ body {
-webkit-user-select: none;
}
/* Allow window to be dragged from anywhere */
* {
-webkit-app-region: drag;
}
button,
a,
input {
-webkit-app-region: no-drag;
}
/* Prevent WebView bounce effect in OS X */
html,
body {