From 62aebe87e1d23ca4b02cce45452fa827b1c0a3dd Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Sun, 20 Mar 2022 00:44:01 +0100 Subject: [PATCH] increased interval timeout --- main.ts | 3 ++- manifest.json | 2 +- package.json | 2 +- versions.json | 3 ++- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/main.ts b/main.ts index 2ead654..258c258 100644 --- a/main.ts +++ b/main.ts @@ -38,7 +38,8 @@ export class KeepView extends ItemView { async onload(): Promise { this.keep = new remote.BrowserView(); await this.keep.webContents.loadURL('https://keep.google.com'); - this.registerInterval(window.setInterval(() => this.update(), 16.67)); + this.keep.webContents.setZoomLevel(0); + this.registerInterval(window.setInterval(() => this.update(), 33.33)); } onunload(): void { diff --git a/manifest.json b/manifest.json index d103ba2..bf4ed6c 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "id": "obsidian-keep", "name": "Obsidian Keep", - "version": "1.0.1", + "version": "1.0.2", "minAppVersion": "0.13.33", "description": "An Obsidian plugin that displays Google Keep in the app", "author": "Ellpeck", diff --git a/package.json b/package.json index 576ba19..272b864 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "obsidian-keep", - "version": "1.0.1", + "version": "1.0.2", "description": "An Obsidian plugin that displays Google Keep in the app", "main": "main.js", "scripts": { diff --git a/versions.json b/versions.json index 39584fb..7397369 100644 --- a/versions.json +++ b/versions.json @@ -1,4 +1,5 @@ { "1.0.0": "0.13.33", - "1.0.1": "0.13.33" + "1.0.1": "0.13.33", + "1.0.2": "0.13.33" }