Skip to content

Commit

Permalink
Fixed not being able to create more than 1 stylegroup
Browse files Browse the repository at this point in the history
  • Loading branch information
HEmile committed Apr 13, 2021
1 parent f5c1edc commit 3ba8938
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion juggl/pane/StyleGroups.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
export let onChangeGroups;
export let plugin: JugglPlugin;
let onNewGroup = function() {
groups.push(emptyStyleGroup);
groups.push({...emptyStyleGroup});
groups = groups;
onChangeGroups();
}
Expand Down
2 changes: 1 addition & 1 deletion juggl/viz/stylesheet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit 3ba8938

Please sign in to comment.