Fix Firefox world map level hover flicker

This commit is contained in:
Matt Lott 2014-12-01 17:12:00 -08:00
parent 4b75516a88
commit 5965d319d6

View file

@ -159,6 +159,11 @@ $gameControlMargin: 30px
margin-bottom: -2 * $levelDotShadowHeight / 3 margin-bottom: -2 * $levelDotShadowHeight / 3
.level:hover .level:hover
// TODO: This rotate stops Firefox from flickering, but also disables the scaleY(0.75)
// TODO: The dot looks like it's jumping.
// TODO: -moz-transform: scaleY(0.75) didn't do anything
// TODO: Does not break Chrome's oval.
-moz-transform: rotate(0)
margin-bottom: -$levelDotHeight / 3 + $levelDotHoverZ margin-bottom: -$levelDotHeight / 3 + $levelDotHoverZ
@include box-shadow(0px 0px 35px skyblue) @include box-shadow(0px 0px 35px skyblue)