ThatChair / PoseAnalysis

PoseAnalysis is an app that allows you to take any video, and see a slowed down replay, with full 3d pose estimation. This app is intended for use in sports, specifically serves in tennis and volleyball.
MIT License
2 stars 0 forks source link

Frame advancement doesnt reflect in the slider! #9

Open ThatChair opened 7 months ago

ThatChair commented 7 months ago

In v1.1.0 (which hasn't been released as of this post), when advancing or going back a frame, the slider doesn't move at all!

For some reason, this code should cover it, but it doesnt...

animPercent.addListener { , , newValue -> if (isAnimationPlaying.get()) { sliderPointPos.set((newValue.toDouble() * ((sliderLine.endX - sliderLine.startX))) + sliderLine.startX) } }