From 203a754ce1f8ae4c47cd3e9e0e15456ef98971b0 Mon Sep 17 00:00:00 2001 From: duckietm Date: Fri, 3 Apr 2026 12:44:36 +0200 Subject: [PATCH] =?UTF-8?q?=E2=86=94=EF=B8=8F=20Lets=20also=20make=20the?= =?UTF-8?q?=20highscore=20moveable?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../room/widgets/furniture/FurnitureHighScoreView.tsx | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/components/room/widgets/furniture/FurnitureHighScoreView.tsx b/src/components/room/widgets/furniture/FurnitureHighScoreView.tsx index 09fdd0e..488faa3 100644 --- a/src/components/room/widgets/furniture/FurnitureHighScoreView.tsx +++ b/src/components/room/widgets/furniture/FurnitureHighScoreView.tsx @@ -1,11 +1,10 @@ import { RoomObjectCategory } from '@nitrots/nitro-renderer'; import { FC } from 'react'; import { LocalizeText } from '../../../../api'; -import { Column, Text } from '../../../../common'; +import { Column, DraggableWindow, Text } from '../../../../common'; import { useFurnitureHighScoreWidget } from '../../../../hooks'; import { ContextMenuHeaderView } from '../context-menu/ContextMenuHeaderView'; import { ContextMenuListView } from '../context-menu/ContextMenuListView'; -import { ObjectLocationView } from '../object-location/ObjectLocationView'; export const FurnitureHighScoreView: FC<{}> = props => { @@ -18,9 +17,9 @@ export const FurnitureHighScoreView: FC<{}> = props => { Array.from(stuffDatas.entries()).map(([ objectId, stuffData ], index) => { return ( - + - + { LocalizeText('high.score.display.caption', [ 'scoretype', 'cleartype' ], [ LocalizeText(`high.score.display.scoretype.${ getScoreType(stuffData.scoreType) }`), LocalizeText(`high.score.display.cleartype.${ getClearType(stuffData.clearType) }`) ]) } @@ -52,7 +51,7 @@ export const FurnitureHighScoreView: FC<{}> = props => - + ); }) }