Skip to content

Commit

Permalink
Fixed bug when toggling Stille from command shortcut for dimmed title
Browse files Browse the repository at this point in the history
  • Loading branch information
michaellee committed Jun 30, 2022
1 parent 3fc78ad commit ffecf02
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
5 changes: 5 additions & 0 deletions main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,11 @@ export default class StillePlugin extends Plugin {
this.styleElement.id = 'stilleStyles';
document.head.appendChild(this.styleElement);
document.body.classList.add('StilleStyle');
const dimTitle = this.settings.unfocusTitle
if (dimTitle) {
this.toggleDimTitle(dimTitle)
}

this.updateStyles();
}

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-stille",
"name": "Stille",
"version": "1.2.0",
"version": "1.2.1",
"minAppVersion": "0.13.0",
"description": "Focus on your writing, a section at a time.",
"author": "Michael Lee",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "obsidian-stille",
"version": "1.2.0",
"version": "1.2.1",
"description": "An Obsidian plugin that helps you focus on your writing, a section at a time.",
"main": "main.js",
"scripts": {
Expand Down
3 changes: 2 additions & 1 deletion versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@
"1.0.2": "0.9.12",
"1.0.3": "0.9.12",
"1.1.0": "0.13.0",
"1.2.0": "0.13.0"
"1.2.0": "0.13.0",
"1.2.1": "0.13.0"
}

0 comments on commit ffecf02

Please sign in to comment.