mirror of
https://github.com/placeAtlas/atlas.git
synced 2024-12-26 19:44:12 +01:00
Merge pull request #1233 from Hans5958/ghost-shift-be-gone
Fixing the ghost shifting, once and for all
This commit is contained in:
commit
7db023633c
1 changed files with 3 additions and 3 deletions
|
@ -102,7 +102,7 @@ hideListButton.addEventListener("click", function(e){
|
|||
} else {
|
||||
wrapper.classList.add('listHidden')
|
||||
}
|
||||
updateHovering();
|
||||
updateHovering(e);
|
||||
applyView();
|
||||
render();
|
||||
updateLines();
|
||||
|
@ -154,7 +154,7 @@ window.addEventListener("resize", function(){
|
|||
entriesListShown = false;
|
||||
wrapper.className += " listHidden";
|
||||
}
|
||||
updateHovering();
|
||||
updateHovering(e);
|
||||
|
||||
viewportWidth = document.documentElement.clientWidth;
|
||||
|
||||
|
@ -445,7 +445,7 @@ function buildObjectsList(filter, sort){
|
|||
zoom = 4;
|
||||
renderBackground(atlas);
|
||||
applyView();
|
||||
updateHovering();
|
||||
updateHovering(e);
|
||||
|
||||
zoomOrigin = [
|
||||
innerContainer.clientWidth/2 - this.entry.center[0]* zoom// + container.offsetLeft
|
||||
|
|
Loading…
Reference in a new issue