mirror of
https://github.com/Ellpeck/ObsidianCustomFrames.git
synced 2024-11-22 09:43:30 +01:00
increased interval timeout
This commit is contained in:
parent
2c33082608
commit
62aebe87e1
4 changed files with 6 additions and 4 deletions
3
main.ts
3
main.ts
|
@ -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 {
|
||||||
|
|
|
@ -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",
|
||||||
|
|
|
@ -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": {
|
||||||
|
|
|
@ -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"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue