From 9988a55601254a9155894b7b3ff2a0e231ea2564 Mon Sep 17 00:00:00 2001 From: redphx <96280+redphx@users.noreply.github.com> Date: Fri, 10 May 2024 20:34:54 +0700 Subject: [PATCH] Prevent clicking when hiding game bar & toast --- src/assets/css/game-bar.styl | 1 + src/assets/css/toast.styl | 1 + 2 files changed, 2 insertions(+) diff --git a/src/assets/css/game-bar.styl b/src/assets/css/game-bar.styl index 84cd586..a75bace 100644 --- a/src/assets/css/game-bar.styl +++ b/src/assets/css/game-bar.styl @@ -44,6 +44,7 @@ &.bx-hide { opacity: 0; + pointer-events: none; } button { diff --git a/src/assets/css/toast.styl b/src/assets/css/toast.styl index 264c902..30a672b 100644 --- a/src/assets/css/toast.styl +++ b/src/assets/css/toast.styl @@ -23,6 +23,7 @@ &.bx-hide { opacity: 0; + pointer-events: none; } }