mirror of
https://github.com/placeAtlas/atlas.git
synced 2024-12-26 19:44:12 +01:00
Fix renderBackground not using atlas data
This commit is contained in:
parent
8e2915b75f
commit
93d66a2927
2 changed files with 3 additions and 3 deletions
|
@ -111,7 +111,7 @@ function initDraw() {
|
|||
|
||||
let highlightUncharted = true
|
||||
|
||||
renderBackground()
|
||||
renderBackground(atlas)
|
||||
applyView()
|
||||
|
||||
container.style.cursor = "crosshair"
|
||||
|
@ -772,7 +772,7 @@ function initDraw() {
|
|||
setView(center[0], center[1])
|
||||
|
||||
document.addEventListener('timeupdate', () => {
|
||||
renderBackground()
|
||||
renderBackground(atlas)
|
||||
updatePeriodGroups()
|
||||
})
|
||||
|
||||
|
|
|
@ -56,7 +56,7 @@ moreEntriesButton.className = "btn btn-primary d-block mb-2 mx-auto"
|
|||
moreEntriesButton.id = "moreEntriesButton"
|
||||
moreEntriesButton.onclick = function () {
|
||||
buildObjectsList(null, null)
|
||||
renderBackground()
|
||||
renderBackground(atlas)
|
||||
render()
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue