Skip to content

Commit

Permalink
release new version
Browse files Browse the repository at this point in the history
  • Loading branch information
joethei committed Sep 12, 2023
1 parent c99719f commit 849fc42
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"id": "link-favicon",
"name": "Link Favicons",
"version": "1.8.1",
"minAppVersion": "0.15.0",
"version": "1.8.2",
"minAppVersion": "1.3.0",
"description": "See the favicon for a linked website. ",
"author": "Johannes Theiner",
"authorUrl": "https://github.com/joethei",
Expand Down
3 changes: 2 additions & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ export default class FaviconPlugin extends Plugin {

//respond to app events to fix #37
this.registerEvent(this.app.workspace.on('css-change', () => {
console.log("css-change");
this.app.workspace.updateOptions();
}));

Expand All @@ -118,11 +119,11 @@ export default class FaviconPlugin extends Plugin {
const Prec = require("@codemirror/state").Prec;
this.registerEditorExtension(Prec.lowest(asyncDecoBuilderExt(this)));
this.registerEditorExtension(Prec.lowest(textRemovingDecoration(this)));

}

const processor = new PostProcessor(this);
this.registerMarkdownPostProcessor(processor.processor);
this.app.workspace.updateOptions();
}

override onunload() {
Expand Down
2 changes: 1 addition & 1 deletion src/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
height: 50px;
}

.link-favicon[data-is-readable-a-a="false"][data-color-rotation="true"] {
.link-favicon[data-color-inversion="true"][data-is-readable-a-a="false"] {
filter: hue-rotate(180deg) invert(1);
}

Expand Down
3 changes: 2 additions & 1 deletion versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,6 @@
"1.7.3": "0.13.30",
"1.7.4": "0.15.0",
"1.8.0": "0.15.0",
"1.8.1": "0.15.0"
"1.8.1": "0.15.0",
"1.8.2": "1.3.0"
}

0 comments on commit 849fc42

Please sign in to comment.