mirror of
https://github.com/Ellpeck/ObsidianCustomFrames.git
synced 2024-12-26 14:49:23 +01:00
some small fixes
This commit is contained in:
parent
a49de1de52
commit
0620aa806d
4 changed files with 7 additions and 5 deletions
3
main.ts
3
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<void> {
|
||||
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));
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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": {
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
{
|
||||
"1.0.0": "0.13.33"
|
||||
"1.0.0": "0.13.33",
|
||||
"1.0.1": "0.13.33"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue