Skip to content

Commit

Permalink
Force-Save tooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
zsviczian committed May 6, 2021
1 parent c962168 commit 4be1ff8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ExcalidrawView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export default class ExcalidrawView extends TextFileView {
}

async onload() {
this.addAction(DISK_ICON_NAME,"Save drawing",async (ev)=> {
this.addAction(DISK_ICON_NAME,"Force-save now\n(Please note, that autosave is always on)",async (ev)=> {
await this.save();
this.plugin.triggerEmbedUpdates();
});
Expand Down

0 comments on commit 4be1ff8

Please sign in to comment.