WebUI Fixes (#10608)

* Fix camera with -

* Fix not playing player after making slight adjustment

* Fix hovering getting stuck
This commit is contained in:
Nicolas Mowen
2024-03-22 08:31:20 -06:00
committed by GitHub
parent df6c3b14dd
commit 83517f59b4
4 changed files with 15 additions and 8 deletions

View File

@@ -352,7 +352,8 @@ function PreviewFramesPlayer({
}
return previewFrames.map((frame) =>
parseFloat(frame.split("-")[1].slice(undefined, -5)),
// @ts-expect-error we know this item will exist
parseFloat(frame.split("-").slice(undefined, -5)),
);
}, [previewFrames]);