Skip to content

Commit

Permalink
fix: better progress bar alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
ThaUnknown committed Apr 11, 2022
1 parent aa16c10 commit e116106
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Miru",
"version": "1.4.0",
"version": "1.4.1",
"author": "ThaUnknown_ <ThaUnknown@users.noreply.github.com>",
"main": "src/index.js",
"homepage": "https://github.com/ThaUnknown/miru#readme",
Expand Down
4 changes: 1 addition & 3 deletions src/renderer/src/lib/pages/Player.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -861,7 +861,7 @@
{/if}
<div class="w-full d-flex align-items-center" data-name="progressWrapper">
<div class="ts">{toTS(targetTime, duration > 3600 ? 2 : 3)}</div>
<div class="w-full h-full position-relative">
<div class="w-full h-full position-relative d-flex align-items-center">
<canvas class="position-absolute buffer w-full" height="1px" bind:this={bufferCanvas} />
<input
class="ctrl w-full h-full prog"
Expand Down Expand Up @@ -1161,8 +1161,6 @@
}
canvas.buffer {
height: 3px;
top: 50%;
transform: translate(0, -50%);
z-index: -1;
}
.bottom .volume:hover input[type='range'] {
Expand Down

0 comments on commit e116106

Please sign in to comment.