From 5427f200c1a93ad0d888ae22b2026026bb33b14a Mon Sep 17 00:00:00 2001 From: thepaperpilot Date: Sun, 24 Apr 2022 01:03:25 -0500 Subject: [PATCH] Fixed updating displays sometimes eating clicks --- src/features/clickables/Clickable.vue | 4 ++++ src/features/grids/GridCell.vue | 4 ++++ src/features/tabs/TabButton.vue | 4 ++++ src/features/trees/TreeNode.vue | 4 ++++ src/features/upgrades/Upgrade.vue | 4 ++++ 5 files changed, 20 insertions(+) diff --git a/src/features/clickables/Clickable.vue b/src/features/clickables/Clickable.vue index 8054897..eba1f76 100644 --- a/src/features/clickables/Clickable.vue +++ b/src/features/clickables/Clickable.vue @@ -138,4 +138,8 @@ export default defineComponent({ .clickable.small { min-height: unset; } + +.clickable > * { + pointer-events: none; +} diff --git a/src/features/grids/GridCell.vue b/src/features/grids/GridCell.vue index 7c81556..0648017 100644 --- a/src/features/grids/GridCell.vue +++ b/src/features/grids/GridCell.vue @@ -87,4 +87,8 @@ export default defineComponent({ font-size: 10px; background-color: var(--layer-color); } + +.tile > * { + pointer-events: none; +} diff --git a/src/features/tabs/TabButton.vue b/src/features/tabs/TabButton.vue index e5296f1..3a0a4a3 100644 --- a/src/features/tabs/TabButton.vue +++ b/src/features/tabs/TabButton.vue @@ -106,4 +106,8 @@ export default defineComponent({ :not(.floating) .tabButton:not(.active) { border-bottom-color: transparent; } + +.tabButton > * { + pointer-events: none; +} diff --git a/src/features/trees/TreeNode.vue b/src/features/trees/TreeNode.vue index 3b0d929..b4b7522 100644 --- a/src/features/trees/TreeNode.vue +++ b/src/features/trees/TreeNode.vue @@ -112,4 +112,8 @@ export default defineComponent({ text-transform: capitalize; display: flex; } + +.treeNode > *:first-child > * { + pointer-events: none; +} diff --git a/src/features/upgrades/Upgrade.vue b/src/features/upgrades/Upgrade.vue index 60922e1..6c3123a 100644 --- a/src/features/upgrades/Upgrade.vue +++ b/src/features/upgrades/Upgrade.vue @@ -141,4 +141,8 @@ export default defineComponent({ width: 120px; font-size: 10px; } + +.upgrade > * { + pointer-events: none; +}