Merge branch 'feature/return-to-starting-point-button' into feature/in-game-compass
This commit is contained in:
commit
0739c65961
@ -8,6 +8,6 @@
|
||||
"ws": "^7.4.4"
|
||||
},
|
||||
"scripts": {},
|
||||
"author": "Pőcze Bence <bence@pocze.ch>",
|
||||
"author": "Pőcze Bence and The MapGuesser Contributors <bence@pocze.ch>",
|
||||
"license": "GNU AGPL 3.0"
|
||||
}
|
||||
|
@ -164,7 +164,7 @@
|
||||
opacity: 100%;
|
||||
}
|
||||
|
||||
#navigation div {
|
||||
#navigation span {
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
|
@ -361,7 +361,10 @@
|
||||
document.getElementById('panoCover').style.visibility = 'hidden';
|
||||
document.getElementById('showGuessButton').style.visibility = null;
|
||||
document.getElementById('guess').style.visibility = null;
|
||||
document.getElementById('guess').classList.remove('result')
|
||||
document.getElementById('guess').classList.remove('result');
|
||||
|
||||
// needs to be set visible after the show guess map hid it in mobile view
|
||||
document.getElementById("navigation").style.visibility = 'visible';
|
||||
|
||||
Game.map.setOptions({
|
||||
draggableCursor: 'crosshair'
|
||||
|
@ -69,12 +69,12 @@
|
||||
</span>
|
||||
</div>
|
||||
<div id="returnToStart" class="navigationItem">
|
||||
<div>
|
||||
<span>
|
||||
<img src="<?= $_ENV['STATIC_ROOT'] ?>/img/circle_background.svg?rev=<?= REVISION ?>" alt="Circle Background" class="circleBackground" />
|
||||
</div>
|
||||
<div>
|
||||
</span>
|
||||
<span>
|
||||
<img src="<?= $_ENV['STATIC_ROOT'] ?>/img/house-fill.svg?rev=<?= REVISION ?>" alt="Return to Start icon" class="navigationIcon" />
|
||||
</div>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
@ -29,6 +29,6 @@
|
||||
</main>
|
||||
<footer>
|
||||
<p><span class="bold"><?= $_ENV['APP_NAME'] ?></span> <?= str_replace('Release_', '', VERSION) ?></p><!--
|
||||
--><p>© Pőcze Bence <?= (new DateTime(REVISION_DATE))->format('Y') ?></p>
|
||||
--><p>© The MapGuesser Contributors <?= (new DateTime(REVISION_DATE))->format('Y') ?></p>
|
||||
</footer>
|
||||
@endsection
|
||||
|
Loading…
Reference in New Issue
Block a user