diff --git a/juggl/pane/StyleGroups.svelte b/juggl/pane/StyleGroups.svelte index 5e5ddbf..cb6371f 100644 --- a/juggl/pane/StyleGroups.svelte +++ b/juggl/pane/StyleGroups.svelte @@ -11,7 +11,7 @@ export let onChangeGroups; export let plugin: JugglPlugin; let onNewGroup = function() { - groups.push(emptyStyleGroup); + groups.push({...emptyStyleGroup}); groups = groups; onChangeGroups(); } diff --git a/juggl/viz/stylesheet.ts b/juggl/viz/stylesheet.ts index 12ce4ca..2eabfd0 100644 --- a/juggl/viz/stylesheet.ts +++ b/juggl/viz/stylesheet.ts @@ -30,7 +30,7 @@ export type Shape = typeof SHAPES[number]; export class Icon { path: string; name: string; - color: string = 'black'; + color: string = '#000000'; } export class StyleGroup { filter: string; diff --git a/manifest.json b/manifest.json index 16886f7..c3b8105 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "id": "juggl", "name": "Juggl", - "version": "1.0.3", + "version": "1.0.4", "minAppVersion": "0.11.5", "description": "Adds a completely interactive, stylable and expandable graph view to Obsidian.", "author": "Emile",