Fix jitter moving vertically too; should be x-axis only
This commit is contained in:
1 parent
4cf6c7d506
commit
332b8231aa
1 file changed
+1
-1
@@ -510,7 +510,7 @@ def _glitch_jitter(zoom):
|
||||
shift = random.number(0, 2) - 1 # random.number requires min >= 0
|
||||
keyframes.append(animation.Keyframe(
|
||||
percentage = float(tick) / total_ticks,
|
||||
transforms = [animation.Translate(shift, shift)],
|
||||
transforms = [animation.Translate(shift, 0)],
|
||||
))
|
||||
tick += GLITCH_HOLD_TICKS
|
||||
keyframes.append(animation.Keyframe(
|
||||
|
||||