From 075880d5a75b46c582dd269f729783bae916ea94 Mon Sep 17 00:00:00 2001 From: Mashy Date: Thu, 12 Sep 2019 14:25:52 +1000 Subject: [PATCH] fix slay bug --- client/src/components/anims/slay.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/components/anims/slay.jsx b/client/src/components/anims/slay.jsx index c1624a62..ef862a2f 100644 --- a/client/src/components/anims/slay.jsx +++ b/client/src/components/anims/slay.jsx @@ -91,7 +91,7 @@ class Slay extends Component { }); anime.set('#slay', { - translateY: (window.screen.height) * 0.35 * this.props.direction.y, + translateY: -1 * (window.screen.height) * 0.35, translateX: 0, }); anime.set('#explosion feDisplacementMap', {