This commit is contained in:
celeste 2023-07-24 03:19:30 -04:00
parent 3ff76b40ea
commit 436bac527c
3 changed files with 4 additions and 4 deletions

View file

@ -1,7 +1,7 @@
{
"id": "loom",
"name": "Loom",
"version": "1.15.1",
"version": "1.15.2",
"minAppVersion": "0.15.0",
"description": "Loom in Obsidian",
"author": "celeste",

View file

@ -1,6 +1,6 @@
{
"name": "obsidian-loom",
"version": "1.15.1",
"version": "1.15.2",
"description": "Loom in Obsidian",
"main": "main.js",
"scripts": {

View file

@ -352,7 +352,7 @@ export class LoomView extends ItemView {
.filter(([, node]) => node.parentId === null)
const deletable = rootNodes.length !== 1 || rootNodes[0][0] !== id;
const showMenu = (event) => {
const showMenu = (event: MouseEvent) => {
const menu = new Menu();
const menuItem = (name: string, icon: string, callback: () => void) =>
@ -409,7 +409,7 @@ export class LoomView extends ItemView {
cls: "loom__node-buttons"
});
const button = (label: string, icon: string, callback: () => void) => {
const button = (label: string, icon: string, callback: (event: MouseEvent) => void) => {
const button_ = nodeButtonsContainer.createDiv({
cls: "loom__node-button",
attr: { "aria-label": label },