mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-18 06:22:28 +03:00
visual fixes in the player slider controls
This commit is contained in:
parent
96b70d0eaf
commit
ce590fdae4
@ -394,7 +394,7 @@
|
||||
|
||||
<div
|
||||
id="controls"
|
||||
class="absolute bottom-0 flex w-full flex-col gap-4 rounded-br rounded-bl border-t border-zinc-700 bg-[#2E2E32]/75 p-2 pt-4"
|
||||
class="absolute bottom-0 flex w-full flex-col gap-4 overflow-hidden rounded-br rounded-bl border-t border-zinc-700 bg-[#2E2E32]/75 p-2 pt-4"
|
||||
style="
|
||||
border-width: 0.5px;
|
||||
-webkit-backdrop-filter: blur(5px) saturate(190%) contrast(70%) brightness(80%);
|
||||
|
@ -39,7 +39,7 @@
|
||||
bind:this={timeline}
|
||||
>
|
||||
{#each sliderValues as { from, to, width }, i}
|
||||
{@const isCurrent = value >= from && value < to}
|
||||
{@const isCurrent = value >= from && value <= to}
|
||||
{@const filledPrecentage = Math.max(0, Math.min(100, ((value - from) / (to - from)) * 100))}
|
||||
<li class="relative flex cursor-pointer items-center" style:width="{width}%">
|
||||
<div
|
||||
|
Loading…
Reference in New Issue
Block a user