Fix grass mirroring: use dedicated flipped keyframe animation instead of inline transform that was overridden by grassSway

This commit is contained in:
Sterling Archer
2026-05-27 14:06:36 -07:00
parent fc5f68012e
commit dc32e1c7ab
2 changed files with 9 additions and 1 deletions
+8
View File
@@ -511,6 +511,14 @@ html, body {
50% { transform: rotate(2deg) scaleY(1.05); }
100% { transform: rotate(-3deg) scaleY(1); }
}
.tall-grass-flip {
animation: grassSwayFlip 2s ease-in-out infinite alternate;
}
@keyframes grassSwayFlip {
0% { transform: scaleX(-1) rotate(-3deg) scaleY(1); }
50% { transform: scaleX(-1) rotate(2deg) scaleY(1.05); }
100% { transform: scaleX(-1) rotate(-3deg) scaleY(1); }
}
/* Directional nudge arrow */
.map-dir-arrow {
position: absolute;