prevent window drag when inputitem overlaps with titlebar

This commit is contained in:
Andrew Gundersen 2021-03-23 08:09:10 -05:00
commit 7dcfd9252a
3 changed files with 6 additions and 4 deletions

View file

@ -1,7 +1,7 @@
<template>
<div id="app" v-if="ready">
<button class="titlebar" />
<button id="titlebar" />
<!-- Minimize and exit buttons. -->
<span class="menu">
@ -87,7 +87,7 @@ html, body {
border-radius: 15px;
}
.titlebar {
#titlebar {
position: fixed;
width: 100vw;
@ -97,7 +97,6 @@ html, body {
background-color: #EBEBEB;
-webkit-user-select: none;
-webkit-app-region: drag;
border: none;