mirror of
https://github.com/ThaUnknown/miru.git
synced 2026-03-11 18:16:19 +00:00
fix: android gestures attempt 2
fix: unclickable space in home screen highlight
This commit is contained in:
parent
a0561ec0f7
commit
9151d37754
3 changed files with 6 additions and 6 deletions
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "ui",
|
||||
"version": "6.4.116",
|
||||
"version": "6.4.117",
|
||||
"license": "BUSL-1.1",
|
||||
"private": true,
|
||||
"packageManager": "pnpm@9.15.5",
|
||||
|
|
|
|||
|
|
@ -139,7 +139,7 @@
|
|||
</script>
|
||||
|
||||
<!-- fix for android gestures not cancelling pointer when closing the app using gestures from the bottom which hovers the seekbar, insane. -->
|
||||
<svelte:document on:visibilitychange={endHover} />
|
||||
<!-- <svelte:document on:visibilitychange={endHover} /> -->
|
||||
|
||||
<div class='w-full flex cursor-pointer relative group/seekbar touch-none !transform-none' class:!cursor-grab={seeking}
|
||||
tabindex='0' role='slider' aria-valuenow='0'
|
||||
|
|
@ -153,7 +153,7 @@
|
|||
on:pointerup={endSeeking}
|
||||
on:pointermove={calculatePositionProgress}
|
||||
on:pointerleave={endHover}
|
||||
on:pointercancel={endHover}>
|
||||
on:pointercancel={endSeeking}>
|
||||
{#each segments as chapter, i (chapter)}
|
||||
{@const { size, scale, offset } = chapter}
|
||||
{@const active = seek && seek > offset && seek < offset + size}
|
||||
|
|
|
|||
|
|
@ -97,9 +97,9 @@
|
|||
<div class='grow h-full min-w-0 -ml-14 pl-14 overflow-y-scroll' use:dragScroll on:scroll={handleScroll}>
|
||||
<Banner />
|
||||
{#each $sectionQueries as { title, query, variables }, i (i)}
|
||||
<div class='flex px-4 pt-5 items-end cursor-pointer text-muted-foreground select:text-foreground'>
|
||||
<div class='font-semibold text-lg leading-none' use:click={() => search(variables)}>{title}</div>
|
||||
<div class='ml-auto text-xs' use:click={() => search(variables)}>View More</div>
|
||||
<div class='flex px-4 pt-5 items-end cursor-pointer text-muted-foreground'>
|
||||
<div class='font-semibold text-lg leading-none select:text-foreground' use:click={() => search(variables)}>{title}</div>
|
||||
<div class='ml-auto text-xs select:text-foreground' use:click={() => search(variables)}>View More</div>
|
||||
</div>
|
||||
<div class='flex overflow-x-scroll select:-ml-14 select:pl-14 -mt-40 pt-40 -mb-5 pb-5 relative group pointer-events-none' use:dragScroll>
|
||||
<QueryCard {query} />
|
||||
|
|
|
|||
Loading…
Reference in a new issue