Revert "feat: add customizable keyboard navigation"

This commit is contained in:
Xylight authored and GitHub committed 2025-08-15 06:31:23 -07:00
1 parent 4e7c37bd89
commit f9a6e775f3
17 files changed
+39 -306

No files matched your search

@@ -34,7 +34,6 @@
style?: string
onedit?: (post: PostView) => void
onhide?: (hide: boolean) => void
voteComponent?: { castVote: (vote: number) => void }
}
let {
@@ -42,7 +41,6 @@
view = 'cozy',
debug = $bindable(false),
style = '',
voteComponent = $bindable(),
onedit,
onhide,
}: Props = $props()
@@ -79,7 +77,7 @@
<footer
class={[
'flex flex-row gap-2 items-center shrink-0 text-slate-600 dark:text-zinc-300',
'flex flex-row gap-2 items-center shrink-0 text-slate-600 dark:text-zinc-400',
buttonHeight,
]}
class:flex-row-reverse={settings.posts.reverseActions}
@@ -91,7 +89,6 @@
bind:score={post.counts.score}
bind:upvotes={post.counts.upvotes}
bind:downvotes={post.counts.downvotes}
bind:this={voteComponent}
showCounts={profile.current?.user?.local_user_view?.local_user
?.show_scores ?? true}
/>