fix reflect rotation
This commit is contained in:
parent
51ca41b218
commit
bbfeb22a3f
@ -18,7 +18,7 @@ class Refl extends Component {
|
||||
this.animations = [];
|
||||
}
|
||||
|
||||
render({ team }) {
|
||||
render({ player }) {
|
||||
const oneX = anime.random(32, 96);
|
||||
const twoX = anime.random(192, 224);
|
||||
|
||||
@ -28,7 +28,7 @@ class Refl extends Component {
|
||||
version="1.1"
|
||||
id="reflect"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
style={{ transform: team ? '' : 'rotate3d(1, 0, 0, 180deg)' }}
|
||||
style={{ transform: player ? '' : 'rotate3d(1, 0, 0, 180deg)' }}
|
||||
viewBox="0 0 256 256">
|
||||
<defs>
|
||||
<filter id="reflectFilterGreen">
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user