feat: increase sidebar hitbox
This commit is contained in:
@ -174,9 +174,9 @@
|
|||||||
>
|
>
|
||||||
{#if mobileView}
|
{#if mobileView}
|
||||||
<div
|
<div
|
||||||
|
style="position: absolute; top: 0; left: 0; right: 0; height: 20px; touch-action: none; cursor: grab;"
|
||||||
role="button"
|
role="button"
|
||||||
id="grabber"
|
id="grabber"
|
||||||
style="height: 10px; cursor: grab; display: flex; justify-content: center; align-items: center; touch-action: none;"
|
|
||||||
ontouchstart={(e) => {
|
ontouchstart={(e) => {
|
||||||
isDragging = true;
|
isDragging = true;
|
||||||
startY = e.touches[0].clientY;
|
startY = e.touches[0].clientY;
|
||||||
@ -201,6 +201,9 @@
|
|||||||
if (!isDragging) return;
|
if (!isDragging) return;
|
||||||
isDragging = false;
|
isDragging = false;
|
||||||
}}
|
}}
|
||||||
|
></div>
|
||||||
|
<div
|
||||||
|
style="height: 10px; display: flex; justify-content: center; align-items: center;"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
style="height: 8px; background-color: #acacac; width: 40%; border-radius: 15px;"
|
style="height: 8px; background-color: #acacac; width: 40%; border-radius: 15px;"
|
||||||
|
|||||||
Reference in New Issue
Block a user