changed slide direction
All checks were successful
/ test-on-windows (push) Successful in 13s
/ test-on-alpine (push) Successful in 3s

This commit is contained in:
partisan 2024-12-22 19:55:20 +01:00
parent 17bb547c74
commit aea202a94d

View file

@ -122,9 +122,9 @@ func (t *TransitionManager) Update() (
oldAlpha, oldScale, oldOffsetX = 1, 1, 0
newAlpha, newScale, newOffsetX = 1, 1, 0
slideDir := float32(-1)
slideDir := float32(1)
if t.direction == DirectionBackward {
slideDir = 1
slideDir = -1
}
p := t.accumSec / t.totalSec