Rename shop items to plain sprite labels and improve thumbnail visibility.
Use code-side display names in the shop UI so labels stay correct even when DB rows lag, and add a neutral thumbnail glow so dark colors remain visible.
This commit is contained in:
@@ -12,7 +12,7 @@ import {
|
||||
buildShopItemPreviewCustomization,
|
||||
getShopPreviewRoomId,
|
||||
} from "@/lib/shop-preview";
|
||||
import type { ShopItemRecord } from "@/lib/shop-catalog";
|
||||
import { getShopItemDisplayName, type ShopItemRecord } from "@/lib/shop-catalog";
|
||||
import { routes } from "@/lib/routes";
|
||||
|
||||
type ShopItemPreviewModalProps = {
|
||||
@@ -89,7 +89,7 @@ export function ShopItemPreviewModal({
|
||||
>
|
||||
Preview on your bit
|
||||
</p>
|
||||
<p className="mt-1 truncate text-sm">{item.name}</p>
|
||||
<p className="mt-1 truncate text-sm">{getShopItemDisplayName(item)}</p>
|
||||
</div>
|
||||
<Button
|
||||
type="button"
|
||||
|
||||
Reference in New Issue
Block a user