diff --git a/ui/src/components/Popup.svelte b/ui/src/components/Popup.svelte index b3ba88c..7cf76ec 100644 --- a/ui/src/components/Popup.svelte +++ b/ui/src/components/Popup.svelte @@ -13,7 +13,7 @@ opened.set(false) }}> - + {#if $opened} diff --git a/ui/src/debug/DebugView.svelte b/ui/src/debug/DebugView.svelte index e96f3ad..237a6de 100644 --- a/ui/src/debug/DebugView.svelte +++ b/ui/src/debug/DebugView.svelte @@ -8,13 +8,13 @@ import type Debugger from '@core/Debugger'; import slideH from '../svelte/slideH'; - import FontIndex from './FontIndex.svelte'; import Popup from '../components/Popup.svelte'; import PageSelectionPopup from './PageSelectionPopup.svelte'; import Checkbox from '../components/Checkbox.svelte'; import ItemTable from './ItemTable.svelte'; import TransformerSelectionPopup from './TransformerSelectionPopup.svelte'; import { debugStage } from '../config'; + import FontEntry from './FontEntry.svelte'; export let debug: Debugger; @@ -22,7 +22,6 @@ let pinnedPage: number; let onlyRelevantItems = true; let groupingEnabled = true; - let showFonts = false; $: canNext = $debugStage + 1 < stageNames.length; $: canPrev = $debugStage > 0; @@ -50,8 +49,8 @@ {/if} - - + + + + + +
+ F +
+
+ +
+
+ {#each [...debug.fontMap.keys()] as fontName} + + {/each} +
+
+
+
+
|
Transformation:
@@ -112,11 +134,6 @@ {/each} - -
- -
- {#if visiblePages.find((page) => page.itemGroups.length > 0)} {:else} +
No visible changes from the transformation.
{#if supportsRelevanceFiltering && onlyRelevantItems} diff --git a/ui/src/debug/FontEntry.svelte b/ui/src/debug/FontEntry.svelte index 9a1781e..7ef6531 100644 --- a/ui/src/debug/FontEntry.svelte +++ b/ui/src/debug/FontEntry.svelte @@ -9,7 +9,7 @@
(collapsed = !collapsed)}>
{fontName}
diff --git a/ui/src/debug/FontIndex.svelte b/ui/src/debug/FontIndex.svelte deleted file mode 100644 index 9da7ddd..0000000 --- a/ui/src/debug/FontIndex.svelte +++ /dev/null @@ -1,26 +0,0 @@ - - -
(showFonts = false) }}> - {#if showFonts} -
-
- {#each [...fontMap.keys()] as fontName} - - {/each} -
-
- {/if} -
(showFonts = !showFonts)}> - {showFonts ? 'X' : 'F'} -
-