diff --git a/ui/src/components/Popup.svelte b/ui/src/components/Popup.svelte index 7cf76ec..6c07d0f 100644 --- a/ui/src/components/Popup.svelte +++ b/ui/src/components/Popup.svelte @@ -17,8 +17,14 @@ {#if $opened} - - + + {/if} + + diff --git a/ui/src/debug/ControlBar.svelte b/ui/src/debug/ControlBar.svelte new file mode 100644 index 0000000..036e9c1 --- /dev/null +++ b/ui/src/debug/ControlBar.svelte @@ -0,0 +1,125 @@ + + +
+
+ {#if pageIsPinned} + (pinnedPage = undefined)} transition:slideH={{ duration: 180, easing: linear }}> + + + {/if} + + + + + + + (pinnedPage = e.detail)} + on:unpinPage={() => (pinnedPage = undefined)} /> + + + + + + +
+ F +
+
+ +
+
+ {#each [...fontMap.keys()] as fontName} + + {/each} +
+
+
+
+
+ +
|
+
Transformation:
+ canPrev && debugStage.update((cur) => cur - 1)}> + + + canNext && debugStage.update((cur) => cur + 1)}> + + + + + +
{stageNames[$debugStage]}
+
+ + debugStage.set(detail)} /> + +
+
+
+ {#if supportsGrouping} + + + + {/if} + {#if supportsRelevanceFiltering} + + + + {/if} +
+
+
+ + diff --git a/ui/src/debug/DebugView.svelte b/ui/src/debug/DebugView.svelte index 237a6de..782844a 100644 --- a/ui/src/debug/DebugView.svelte +++ b/ui/src/debug/DebugView.svelte @@ -1,36 +1,23 @@ @@ -40,90 +27,16 @@
Author: {parseResult.metadata.author()}
--> -
-
- {#if pageIsPinned} - (pinnedPage = undefined)} transition:slideH={{ duration: 180, easing: linear }}> - - - {/if} - - - - - - - (pinnedPage = e.detail)} - on:unpinPage={() => (pinnedPage = undefined)} /> - - - - - - -
- F -
-
- -
-
- {#each [...debug.fontMap.keys()] as fontName} - - {/each} -
-
-
-
-
- -
|
-
Transformation:
- canPrev && debugStage.update((cur) => cur - 1)}> - - - canNext && debugStage.update((cur) => cur + 1)}> - - - - - -
- {stageNames[$debugStage]} -
-
- - debugStage.set(detail)} /> - -
-
-
- {#if supportsGrouping} - - - - {/if} - {#if supportsRelevanceFiltering} - - - - {/if} -
-
-
+