Skip to content

Commit cd43bdf

Browse files
committed
release: 0.40.2
1 parent daddd9c commit cd43bdf

File tree

5 files changed

+7
-6
lines changed

5 files changed

+7
-6
lines changed

manifest-beta.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"id": "pdf-plus",
33
"name": "PDF++",
4-
"version": "0.40.1",
4+
"version": "0.40.2",
55
"minAppVersion": "1.4.16",
66
"description": "The most Obsidian-native PDF annotation tool ever.",
77
"author": "Ryota Ushio",

manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"id": "pdf-plus",
33
"name": "PDF++",
4-
"version": "0.40.1",
4+
"version": "0.40.2",
55
"minAppVersion": "1.4.16",
66
"description": "The most Obsidian-native PDF annotation tool ever.",
77
"author": "Ryota Ushio",

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "obsidian-pdf-plus",
3-
"version": "0.40.1",
3+
"version": "0.40.2",
44
"description": "The most Obsidian-native PDF annotation tool ever.",
55
"scripts": {
66
"dev": "node esbuild.config.mjs",

src/main.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,8 @@ export default class PDFPlus extends Plugin {
136136
}
137137

138138
private addIcons() {
139-
addIcon('vim', '<text x="50%" y="50%" dominant-baseline="middle" text-anchor="middle" font-family="Arial" font-size="48" fill="black" style="letter-spacing:2; font-weight:bold;">VIM</text>');
139+
// fill: "currentColor" is necessary for the icon to inherit the color of the parent element!
140+
addIcon('vim', '<text x="50%" y="50%" dominant-baseline="middle" text-anchor="middle" font-family="Arial" font-size="48" fill="currentColor" style="letter-spacing:2; font-weight:bold;">VIM</text>');
140141
}
141142

142143
async loadSettings() {

0 commit comments

Comments
 (0)