feat: open keyboard shortcuts with ?
All checks were successful
Deploy to GitHub Pages / build_site (push) Successful in 2m4s
All checks were successful
Deploy to GitHub Pages / build_site (push) Successful in 2m4s
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<script lang="ts">
|
||||
import { getContext, type Snippet } from "svelte";
|
||||
import type { PanelState } from "./PanelState.svelte";
|
||||
import { type Snippet } from "svelte";
|
||||
import { panelState } from "./PanelState.svelte";
|
||||
|
||||
const {
|
||||
id,
|
||||
@@ -18,8 +18,6 @@
|
||||
children?: Snippet;
|
||||
}>();
|
||||
|
||||
const panelState = getContext<PanelState>("panel-state");
|
||||
|
||||
const panel = panelState.registerPanel(id, icon, classes, hidden);
|
||||
$effect(() => {
|
||||
panel.hidden = hidden;
|
||||
|
||||
Reference in New Issue
Block a user