Skip to content

Commit

Permalink
Merge pull request #4094 from KonradowyPL/v3.0
Browse files Browse the repository at this point in the history
Transition player markers properly
  • Loading branch information
mikeprimm authored Jun 2, 2024
2 parents 313933f + 13f0f72 commit d00ff62
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -570,6 +570,14 @@
transition: all 0.6s ease-in-out 0s;
}

/* do not animate player movements when zooming */
.dynmap .leaflet-zoom-anim .leaflet-zoom-animated.playerMarker {
-moz-transition: -moz-transform 0.25s cubic-bezier(0,0,0.25,1);
-webkit-transition: -webkit-transform 0.25s cubic-bezier(0,0,0.25,1);
-o-transition: transform 0.25s cubic-bezier(0,0,0.25,1);
transition: transform 0.25s cubic-bezier(0,0,0.25,1);
}

.dynmap .playerIcon {
margin-top: -16px;
margin-left: -16px;
Expand Down

0 comments on commit d00ff62

Please sign in to comment.