bugfixes
This commit is contained in:
parent
5c9552447a
commit
d073473d2f
BIN
backend/dist/nsfwapp-linux-amd64
vendored
BIN
backend/dist/nsfwapp-linux-amd64
vendored
Binary file not shown.
BIN
backend/dist/nsfwapp.exe
vendored
BIN
backend/dist/nsfwapp.exe
vendored
Binary file not shown.
BIN
backend/dist/nsfwapp_amd64.deb
vendored
BIN
backend/dist/nsfwapp_amd64.deb
vendored
Binary file not shown.
@ -11437,6 +11437,12 @@ export default function TrainingTab(props: {
|
|||||||
const magnifierFocusY = hasUsablePoseMagnifierPoint
|
const magnifierFocusY = hasUsablePoseMagnifierPoint
|
||||||
? clamp01(activePoseMagnifierY)
|
? clamp01(activePoseMagnifierY)
|
||||||
: boxCenterY
|
: boxCenterY
|
||||||
|
const magnifierMarkerX = hasUsablePoseMagnifierPoint
|
||||||
|
? magnifierFocusX
|
||||||
|
: touchMagnifier.imageX
|
||||||
|
const magnifierMarkerY = hasUsablePoseMagnifierPoint
|
||||||
|
? magnifierFocusY
|
||||||
|
: touchMagnifier.imageY
|
||||||
|
|
||||||
const fitPadding = isTouchLike ? 14 : 18
|
const fitPadding = isTouchLike ? 14 : 18
|
||||||
|
|
||||||
@ -11500,8 +11506,8 @@ export default function TrainingTab(props: {
|
|||||||
const imageLeft = size / 2 - magnifierFocusX * imageWidth
|
const imageLeft = size / 2 - magnifierFocusX * imageWidth
|
||||||
const imageTop = size / 2 - magnifierFocusY * imageHeight
|
const imageTop = size / 2 - magnifierFocusY * imageHeight
|
||||||
|
|
||||||
const pointerX = imageLeft + magnifierFocusX * imageWidth
|
const pointerX = imageLeft + magnifierMarkerX * imageWidth
|
||||||
const pointerY = imageTop + magnifierFocusY * imageHeight
|
const pointerY = imageTop + magnifierMarkerY * imageHeight
|
||||||
|
|
||||||
const boxLeft = hasUsableBox ? imageLeft + activeBox.x * imageWidth : 0
|
const boxLeft = hasUsableBox ? imageLeft + activeBox.x * imageWidth : 0
|
||||||
const boxTop = hasUsableBox ? imageTop + activeBox.y * imageHeight : 0
|
const boxTop = hasUsableBox ? imageTop + activeBox.y * imageHeight : 0
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user