changed slide direction
This commit is contained in:
parent
17bb547c74
commit
aea202a94d
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue