From 22d35ef6a83e0fedb874148487e174d0808a52b5 Mon Sep 17 00:00:00 2001 From: Misode Date: Fri, 6 Dec 2024 19:23:38 +0100 Subject: [PATCH] Make hide_tooltip actually hide the tooltip --- src/app/components/ItemDisplay.tsx | 2 +- src/app/components/ItemTooltip.tsx | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/src/app/components/ItemDisplay.tsx b/src/app/components/ItemDisplay.tsx index dbe962fc..116e8f6c 100644 --- a/src/app/components/ItemDisplay.tsx +++ b/src/app/components/ItemDisplay.tsx @@ -61,7 +61,7 @@ export function ItemDisplay({ item, slotDecoration, tooltip, advancedTooltip }: }
} - {tooltip !== false &&
ResolvedItem, } export function ItemTooltip({ item, advanced, resolver }: Props) { - if (item.has('hide_tooltip')) { - return <> - } - return <> {!advanced && !item.has('custom_name') && item.is('filled_map') && item.has('map_id') && (