Update edge buttons

This commit is contained in:
ZXY101
2024-03-13 05:05:51 +02:00
parent 8ef7f6447f
commit bec5e84067
2 changed files with 3 additions and 1 deletions

View File

@@ -345,11 +345,13 @@
on:mousedown={mouseDown}
on:mouseup={left}
class="left-0 top-0 absolute h-full w-16 hover:bg-slate-400 opacity-[0.01]"
style:width={`${$settings.edgeButtonWidth}px`}
/>
<button
on:mousedown={mouseDown}
on:mouseup={right}
class="right-0 top-0 absolute h-full w-16 hover:bg-slate-400 opacity-[0.01]"
style:width={`${$settings.edgeButtonWidth}px`}
/>
{/if}
{:else}

View File

@@ -77,7 +77,7 @@ const defaultSettings: Settings = {
bounds: false,
backgroundColor: '#030712',
swipeThreshold: 50,
edgeButtonWidth: 10,
edgeButtonWidth: 40,
showTimer: false,
quickActions: true,
fontSize: 'auto',