Skip to content

Commit ffecf02

Browse files
committed
Fixed bug when toggling Stille from command shortcut for dimmed title
1 parent 3fc78ad commit ffecf02

File tree

4 files changed

+9
-3
lines changed

4 files changed

+9
-3
lines changed

main.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,11 @@ export default class StillePlugin extends Plugin {
9191
this.styleElement.id = 'stilleStyles';
9292
document.head.appendChild(this.styleElement);
9393
document.body.classList.add('StilleStyle');
94+
const dimTitle = this.settings.unfocusTitle
95+
if (dimTitle) {
96+
this.toggleDimTitle(dimTitle)
97+
}
98+
9499
this.updateStyles();
95100
}
96101

manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"id": "obsidian-stille",
33
"name": "Stille",
4-
"version": "1.2.0",
4+
"version": "1.2.1",
55
"minAppVersion": "0.13.0",
66
"description": "Focus on your writing, a section at a time.",
77
"author": "Michael Lee",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "obsidian-stille",
3-
"version": "1.2.0",
3+
"version": "1.2.1",
44
"description": "An Obsidian plugin that helps you focus on your writing, a section at a time.",
55
"main": "main.js",
66
"scripts": {

versions.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@
44
"1.0.2": "0.9.12",
55
"1.0.3": "0.9.12",
66
"1.1.0": "0.13.0",
7-
"1.2.0": "0.13.0"
7+
"1.2.0": "0.13.0",
8+
"1.2.1": "0.13.0"
89
}

0 commit comments

Comments
 (0)