small fix

This commit is contained in:
Ashley Graves 2024-09-18 10:28:13 +02:00
parent 963865a7f1
commit 6a9482379a
4 changed files with 67 additions and 75 deletions

View file

@ -8,6 +8,7 @@ body {
background-image: url(https://i.redd.it/c6xyflvpym3c1.jpg); background-image: url(https://i.redd.it/c6xyflvpym3c1.jpg);
background-size: cover; background-size: cover;
background-position: center; background-position: center;
--font: "Segoe UI", "Segoe UI Emoji";
} }
.window { .window {

View file

@ -83,7 +83,7 @@ libopenmpt.onRuntimeInitialized = function() {
visualizer.connectAudio(player.currentPlayingNode); visualizer.connectAudio(player.currentPlayingNode);
} }
player.togglePause(); player.togglePause();
playbutton.innerText = player.currentPlayingNode.paused ? "▶️" : "⏸"; playbutton.innerText = player.currentPlayingNode.paused ? "⏵︎" : "⏸";
} }
}); });
player.addHandler('onRowChange', () => { player.addHandler('onRowChange', () => {

File diff suppressed because one or more lines are too long

View file

@ -39,7 +39,7 @@
</div> </div>
</div> </div>
<div class="status-bar-field" style="width: 1rem; text-align: center;" onclick="playTunes();"> <div class="status-bar-field" style="width: 1rem; text-align: center;" onclick="playTunes();">
<span id="playbutton">▶️</span> <span id="playbutton" style="vertical-align: middle;">⏵︎</span>
</div> </div>
</div> </div>
</div> </div>