Skip to content

Commit

Permalink
refactor: port BaseUnitsConfigDialog to runes mode
Browse files Browse the repository at this point in the history
  • Loading branch information
mgreminger committed Dec 31, 2024
1 parent 662e731 commit d0ae6da
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/BaseUnitsConfigDialog.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,13 @@
import { type CustomBaseUnits, baseUnitSystems, baseUnitChoices,
getDefaultBaseUnits, isDefaultBaseUnits } from "./sheet/Sheet";
export let baseUnits: CustomBaseUnits;
interface Props {
baseUnits: CustomBaseUnits;
}
let {
baseUnits=$bindable(),
}: Props = $props();
export function resetDefaults() {
baseUnits = getDefaultBaseUnits();
Expand Down

0 comments on commit d0ae6da

Please sign in to comment.