mirror of
https://github.com/SlimeVR/SlimeVR-Server.git
synced 2026-11-21 09:31:20 -08:00
Lint fix
This commit is contained in:
1 parent
b52f05d38b
commit
cd7f23e98a
2 files changed
+28
-8
No files matched your search
@@ -1,7 +1,13 @@
|
||||
export function CompareIcon({ width = 20 }: { width?: number }) {
|
||||
return (
|
||||
<svg xmlns="http://www.w3.org/2000/svg" height={width} viewBox="0 -960 960 960" width={width} fill="#ffffff">
|
||||
<path d="m320-160-56-57 103-103H80v-80h287L264-503l56-57 200 200-200 200Zm320-240L440-600l200-200 56 57-103 103h287v80H593l103 103-56 57Z"/>
|
||||
</svg>
|
||||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
height={width}
|
||||
viewBox="0 -960 960 960"
|
||||
width={width}
|
||||
fill="#ffffff"
|
||||
>
|
||||
<path d="m320-160-56-57 103-103H80v-80h287L264-503l56-57 200 200-200 200Zm320-240L440-600l200-200 56 57-103 103h287v80H593l103 103-56 57Z" />
|
||||
</svg>
|
||||
);
|
||||
}
|
||||
@@ -19,8 +19,8 @@ import {
|
||||
import { bodyPartDropProps, trackerDrag } from '@/hooks/tracker-drag';
|
||||
import { FlatDeviceTracker } from '@/store/app-store';
|
||||
import { BodyPartError } from '@/hooks/tracker-assignment';
|
||||
import {FootIcon} from "@/components/commons/icon/FootIcon";
|
||||
import {CompareIcon} from "@/components/commons/icon/CompareIcon";
|
||||
import { FootIcon } from '@/components/commons/icon/FootIcon';
|
||||
import { CompareIcon } from '@/components/commons/icon/CompareIcon';
|
||||
|
||||
export function BodyAssignmentPanel({
|
||||
dotSize,
|
||||
@@ -138,14 +138,28 @@ function SideLegend({
|
||||
>
|
||||
<div className="flex items-center gap-2 px-3 py-1">
|
||||
<span className="w-2.5 h-2.5 rounded-full bg-background-10 outline outline-4 outline-assign-left" />
|
||||
<Typography bold id={mirror ? "tracker_assignment-side-left" : "tracker_assignment-side-right"} />
|
||||
<Typography
|
||||
bold
|
||||
id={
|
||||
mirror
|
||||
? 'tracker_assignment-side-left'
|
||||
: 'tracker_assignment-side-right'
|
||||
}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<CompareIcon width={22} />
|
||||
<CompareIcon width={22} />
|
||||
|
||||
<div className="flex items-center gap-2 px-3 py-1 rounded-full">
|
||||
<span className="w-2.5 h-2.5 rounded-full bg-background-10 outline outline-4 outline-assign-right" />
|
||||
<Typography bold id={mirror ? "tracker_assignment-side-right" : "tracker_assignment-side-left"} />
|
||||
<Typography
|
||||
bold
|
||||
id={
|
||||
mirror
|
||||
? 'tracker_assignment-side-right'
|
||||
: 'tracker_assignment-side-left'
|
||||
}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user