mirror of
https://github.com/placeAtlas/atlas.git
synced 2024-12-28 05:04:24 +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 {
|
} else {
|
||||||
wrapper.classList.add('listHidden')
|
wrapper.classList.add('listHidden')
|
||||||
}
|
}
|
||||||
updateHovering();
|
updateHovering(e);
|
||||||
applyView();
|
applyView();
|
||||||
render();
|
render();
|
||||||
updateLines();
|
updateLines();
|
||||||
|
@ -154,7 +154,7 @@ window.addEventListener("resize", function(){
|
||||||
entriesListShown = false;
|
entriesListShown = false;
|
||||||
wrapper.className += " listHidden";
|
wrapper.className += " listHidden";
|
||||||
}
|
}
|
||||||
updateHovering();
|
updateHovering(e);
|
||||||
|
|
||||||
viewportWidth = document.documentElement.clientWidth;
|
viewportWidth = document.documentElement.clientWidth;
|
||||||
|
|
||||||
|
@ -445,7 +445,7 @@ function buildObjectsList(filter, sort){
|
||||||
zoom = 4;
|
zoom = 4;
|
||||||
renderBackground(atlas);
|
renderBackground(atlas);
|
||||||
applyView();
|
applyView();
|
||||||
updateHovering();
|
updateHovering(e);
|
||||||
|
|
||||||
zoomOrigin = [
|
zoomOrigin = [
|
||||||
innerContainer.clientWidth/2 - this.entry.center[0]* zoom// + container.offsetLeft
|
innerContainer.clientWidth/2 - this.entry.center[0]* zoom// + container.offsetLeft
|
||||||
|
|
Loading…
Reference in a new issue