ability to remove attribute with mouse + other tweaks

This commit is contained in:
zadam
2020-08-13 23:23:57 +02:00
parent 47a9516ada
commit f6f9f0d2c0
7 changed files with 124 additions and 85 deletions

View File

@@ -31,7 +31,7 @@ export default class TabAwareWidget extends BasicWidget {
const start = Date.now();
this.toggleInt(true);
await this.refreshWithNote(this.note, this.notePath);
await this.refreshWithNote(this.note);
const end = Date.now();
@@ -44,7 +44,7 @@ export default class TabAwareWidget extends BasicWidget {
}
}
async refreshWithNote(note, notePath) {}
async refreshWithNote(note) {}
async tabNoteSwitchedEvent({tabContext, notePath}) {
// if notePath does not match then the tabContext has been switched to another note in the mean time
@@ -99,4 +99,4 @@ export default class TabAwareWidget extends BasicWidget {
await this.refresh();
}
}
}