From 7c2fe789d759bcbf69bdc5ca4f2ff0fede4d4883 Mon Sep 17 00:00:00 2001 From: 0neGal Date: Mon, 7 Feb 2022 21:26:32 +0100 Subject: fixed drag control I think? I don't know how it was originally, currently now you can drag on the top most of the window and in the left most, unfortunately not inside the various pages. It would probably be possible to do that, but I've not made it do as such, and if it needs to be changed it won't be me doing it. --- src/app/main.css | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'src/app') diff --git a/src/app/main.css b/src/app/main.css index 2791488..de9a50e 100644 --- a/src/app/main.css +++ b/src/app/main.css @@ -560,13 +560,19 @@ code { /* drag control */ -#bgHolder, -#overlay.shown + .mainContainer, -#overlay.shown + .gamesContainer { +#bgHolder, +.mainContainer, +.gamesContainer { user-select: none; -webkit-app-region: drag; } -a, button, .contentMenu, #close, #nsRelease, #vpReleaseNotes, .mod, #overlay { +#overlay.shown ~ #bgHolder, +#overlay.shown ~ .mainContainer, +#overlay.shown ~ .gamesContainer { + -webkit-app-region: no-drag; +} + +a, button, .contentMenu li, #close, #nsRelease, #vpReleaseNotes, .mod, #overlay, #modsdiv { -webkit-app-region: no-drag; } -- cgit v1.2.3