mirror of
https://github.com/misode/misode.github.io.git
synced 2026-04-23 23:27:09 +00:00
Make hide_tooltip actually hide the tooltip
This commit is contained in:
@@ -61,7 +61,7 @@ export function ItemDisplay({ item, slotDecoration, tooltip, advancedTooltip }:
|
||||
</svg>}
|
||||
<div class="item-slot-overlay"></div>
|
||||
</>}
|
||||
{tooltip !== false && <div class="item-tooltip" style={tooltipOffset && {
|
||||
{tooltip !== false && !resolvedItem.has('hide_tooltip') && <div class="item-tooltip" style={tooltipOffset && {
|
||||
left: (tooltipSwap ? undefined : `${tooltipOffset[0]}px`),
|
||||
right: (tooltipSwap ? `${tooltipOffset[0]}px` : undefined),
|
||||
top: `${tooltipOffset[1]}px`,
|
||||
|
||||
Reference in New Issue
Block a user