Allow window to be dragged from anywhere

Fixes: https://github.com/resin-io/etcher/issues/191
This commit is contained in:
Juan Cruz Viotti 2016-03-13 15:10:16 -04:00
parent 3ef3567d89
commit a40ad6fd54
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 {