increased interval timeout

This commit is contained in:
Ell 2022-03-20 00:44:01 +01:00
parent 2c33082608
commit 62aebe87e1
4 changed files with 6 additions and 4 deletions

View file

@ -38,7 +38,8 @@ export class KeepView extends ItemView {
async onload(): Promise<void> { async onload(): Promise<void> {
this.keep = new remote.BrowserView(); this.keep = new remote.BrowserView();
await this.keep.webContents.loadURL('https://keep.google.com'); 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 { onunload(): void {

View file

@ -1,7 +1,7 @@
{ {
"id": "obsidian-keep", "id": "obsidian-keep",
"name": "Obsidian Keep", "name": "Obsidian Keep",
"version": "1.0.1", "version": "1.0.2",
"minAppVersion": "0.13.33", "minAppVersion": "0.13.33",
"description": "An Obsidian plugin that displays Google Keep in the app", "description": "An Obsidian plugin that displays Google Keep in the app",
"author": "Ellpeck", "author": "Ellpeck",

View file

@ -1,6 +1,6 @@
{ {
"name": "obsidian-keep", "name": "obsidian-keep",
"version": "1.0.1", "version": "1.0.2",
"description": "An Obsidian plugin that displays Google Keep in the app", "description": "An Obsidian plugin that displays Google Keep in the app",
"main": "main.js", "main": "main.js",
"scripts": { "scripts": {

View file

@ -1,4 +1,5 @@
{ {
"1.0.0": "0.13.33", "1.0.0": "0.13.33",
"1.0.1": "0.13.33" "1.0.1": "0.13.33",
"1.0.2": "0.13.33"
} }