From 0620aa806d1f24de0f3bf513d99f44703c6e513c Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Sun, 20 Mar 2022 00:31:54 +0100 Subject: [PATCH] some small fixes --- main.ts | 3 ++- manifest.json | 4 ++-- package.json | 2 +- versions.json | 3 ++- 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/main.ts b/main.ts index 06daa01..8a624b1 100644 --- a/main.ts +++ b/main.ts @@ -1,5 +1,5 @@ import { ItemView, Plugin } from 'obsidian'; -import { BrowserView, BrowserWindow, remote } from 'electron'; +import { BrowserView, remote } from 'electron'; const viewName: string = "keep"; const padding: number = 5; @@ -38,6 +38,7 @@ export class KeepView extends ItemView { async onload(): Promise { this.keep = new remote.BrowserView(); await this.keep.webContents.loadURL('https://keep.google.com'); + this.keep.webContents.setZoomLevel(-1); this.registerInterval(window.setInterval(() => this.update(), 16.67)); } diff --git a/manifest.json b/manifest.json index a965b83..d103ba2 100644 --- a/manifest.json +++ b/manifest.json @@ -1,10 +1,10 @@ { "id": "obsidian-keep", "name": "Obsidian Keep", - "version": "1.0.0", + "version": "1.0.1", "minAppVersion": "0.13.33", "description": "An Obsidian plugin that displays Google Keep in the app", "author": "Ellpeck", "authorUrl": "https://ellpeck.de", - "isDesktopOnly": false + "isDesktopOnly": true } diff --git a/package.json b/package.json index 40100ca..576ba19 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "obsidian-keep", - "version": "1.0.0", + "version": "1.0.1", "description": "An Obsidian plugin that displays Google Keep in the app", "main": "main.js", "scripts": { diff --git a/versions.json b/versions.json index 82f5c37..39584fb 100644 --- a/versions.json +++ b/versions.json @@ -1,3 +1,4 @@ { - "1.0.0": "0.13.33" + "1.0.0": "0.13.33", + "1.0.1": "0.13.33" }