[fix] fixed input lag, bugs

This commit is contained in:
kwaroran
2023-07-19 04:02:13 +09:00
parent 11a9de522e
commit 5a42fe9b6b
9 changed files with 85 additions and 83 deletions

View File

@@ -1,5 +1,5 @@
<button
on:click={onClick}
on:click
class="{selected ? 'bg-borderc' : 'bg-gray-700'} border border-gray-600 text-white rounded-md shadow-sm hover:bg-borderc focus:outline-none focus:ring-2 focus:ring-borderc transition-colors duration-200{className ? (" " + className) : ""}"
class:px-4 = {size == "md"}
class:px-2 = {size == "sm"}
@@ -14,7 +14,6 @@
</button>
<script lang="ts">
export let selected = false
export let onClick = () => {}
export let className = ""
export let size: "sm" | "md" | "lg" = "md"
</script>