Skip to content

Commit

Permalink
fix bug prevent css style application
Browse files Browse the repository at this point in the history
  • Loading branch information
nothingislost committed Jan 21, 2022
1 parent ad10ca2 commit 04352f6
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion manifest-beta.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "obsidian-dynamic-highlights",
"name": "Dynamic Highlights",
"version": "0.2.0",
"version": "0.2.1",
"minAppVersion": "0.13.5",
"description": "Dynamically highlight text based on cursor selection or search query with full regex, mobile, and live preview support",
"author": "NothingIsLost",
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": "obsidian-dynamic-highlights",
"name": "Dynamic Highlights",
"version": "0.2.0",
"version": "0.2.1",
"minAppVersion": "0.13.5",
"description": "Dynamically highlight text based on cursor selection or search query with full regex, mobile, and live preview support",
"author": "NothingIsLost",
Expand Down
1 change: 1 addition & 0 deletions src/settings/import.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ export class ImportModal extends Modal {
await this.plugin.saveSettings();
this.plugin.updateStaticHighlighter();
this.plugin.updateStyles();
this.plugin.updateCustomCSS();
this.plugin.settingsTab.display();
this.close();
} catch (e) {
Expand Down
1 change: 1 addition & 0 deletions src/settings/ui.ts
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,7 @@ export class SettingTab extends PluginSettingTab {
};
await this.plugin.saveSettings();
this.plugin.updateStaticHighlighter();
this.plugin.updateCustomCSS();
this.plugin.updateStyles();
this.display();
} else if (className && !hexValue) {
Expand Down

0 comments on commit 04352f6

Please sign in to comment.