Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
cosmicoptima committed Jul 24, 2023
1 parent 3ff76b4 commit 436bac5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "obsidian-loom",
"version": "1.15.1",
"version": "1.15.2",
"description": "Loom in Obsidian",
"main": "main.js",
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions views.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) =>
Expand Down Expand Up @@ -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 },
Expand Down

0 comments on commit 436bac5

Please sign in to comment.