Fix player lagging behind when zooming
This commit is contained in:
parent
02201144ec
commit
eb5b771ab3
1 changed files with 8 additions and 0 deletions
|
|
@ -570,6 +570,14 @@
|
||||||
transition: all 0.6s ease-in-out 0s;
|
transition: all 0.6s ease-in-out 0s;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* do not animate player movements when zooming */
|
||||||
|
.dynmap .leaflet-zoom-anim .leaflet-zoom-animated {
|
||||||
|
-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 {
|
.dynmap .playerIcon {
|
||||||
margin-top: -16px;
|
margin-top: -16px;
|
||||||
margin-left: -16px;
|
margin-left: -16px;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue