Update edge buttons
This commit is contained in:
@@ -345,11 +345,13 @@
|
|||||||
on:mousedown={mouseDown}
|
on:mousedown={mouseDown}
|
||||||
on:mouseup={left}
|
on:mouseup={left}
|
||||||
class="left-0 top-0 absolute h-full w-16 hover:bg-slate-400 opacity-[0.01]"
|
class="left-0 top-0 absolute h-full w-16 hover:bg-slate-400 opacity-[0.01]"
|
||||||
|
style:width={`${$settings.edgeButtonWidth}px`}
|
||||||
/>
|
/>
|
||||||
<button
|
<button
|
||||||
on:mousedown={mouseDown}
|
on:mousedown={mouseDown}
|
||||||
on:mouseup={right}
|
on:mouseup={right}
|
||||||
class="right-0 top-0 absolute h-full w-16 hover:bg-slate-400 opacity-[0.01]"
|
class="right-0 top-0 absolute h-full w-16 hover:bg-slate-400 opacity-[0.01]"
|
||||||
|
style:width={`${$settings.edgeButtonWidth}px`}
|
||||||
/>
|
/>
|
||||||
{/if}
|
{/if}
|
||||||
{:else}
|
{:else}
|
||||||
|
|||||||
@@ -77,7 +77,7 @@ const defaultSettings: Settings = {
|
|||||||
bounds: false,
|
bounds: false,
|
||||||
backgroundColor: '#030712',
|
backgroundColor: '#030712',
|
||||||
swipeThreshold: 50,
|
swipeThreshold: 50,
|
||||||
edgeButtonWidth: 10,
|
edgeButtonWidth: 40,
|
||||||
showTimer: false,
|
showTimer: false,
|
||||||
quickActions: true,
|
quickActions: true,
|
||||||
fontSize: 'auto',
|
fontSize: 'auto',
|
||||||
|
|||||||
Reference in New Issue
Block a user