diff --git a/backend/dist/nsfwapp-linux-amd64 b/backend/dist/nsfwapp-linux-amd64 index f81b924..985c5db 100644 Binary files a/backend/dist/nsfwapp-linux-amd64 and b/backend/dist/nsfwapp-linux-amd64 differ diff --git a/backend/dist/nsfwapp.exe b/backend/dist/nsfwapp.exe index c1e1148..ae20ec1 100644 Binary files a/backend/dist/nsfwapp.exe and b/backend/dist/nsfwapp.exe differ diff --git a/backend/dist/nsfwapp_amd64.deb b/backend/dist/nsfwapp_amd64.deb index 73f9724..d438d55 100644 Binary files a/backend/dist/nsfwapp_amd64.deb and b/backend/dist/nsfwapp_amd64.deb differ diff --git a/frontend/src/components/ui/TrainingTab.tsx b/frontend/src/components/ui/TrainingTab.tsx index cc42409..9bb94ed 100644 --- a/frontend/src/components/ui/TrainingTab.tsx +++ b/frontend/src/components/ui/TrainingTab.tsx @@ -11419,6 +11419,12 @@ export default function TrainingTab(props: { const boxWidth = hasUsableBox ? activeBox.w * imageWidth : 0 const boxHeight = hasUsableBox ? activeBox.h * imageHeight : 0 const showPoseMagnifierSkeleton = poseSkeletonVisible && Boolean(poseMagnifierInteraction) + const magnifierIsAbovePointer = top + size / 2 <= touchMagnifier.clientY + const activeMagnifierLabel = hasUsablePoseMagnifierPoint + ? poseKeypointLabel(activePoseMagnifierPoint?.name) + : hasUsableBox + ? getSegmentLabelItem(activeBox.label).text || activeBox.label + : '' return typeof document !== 'undefined' ? createPortal( @@ -11581,6 +11587,20 @@ export default function TrainingTab(props: { top: pointerY, }} /> + + {activeMagnifierLabel ? ( +
+ {activeMagnifierLabel} +
+ ) : null} , document.body )