Skip to content

Commit

Permalink
fix: reset QD picker color on start
Browse files Browse the repository at this point in the history
  • Loading branch information
le-jeu committed Sep 28, 2023
1 parent bbdfeb4 commit a4e3d89
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/code/buttons/quickdrawButton.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,10 @@ class QuickdrawButton extends WButton {
title: this.title,
container: container,
className: "wasabee-toolbar-quickdraw",
callback: this.handler.enable,
callback: () => {
this.picker.value = "#000000";
this.handler.enable();
},
context: this.handler,
});

Expand Down

0 comments on commit a4e3d89

Please sign in to comment.