Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ivmartel committed Mar 7, 2024
1 parent 2bc7f85 commit c796a36
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/appgui.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ dwvsimple.getToolButton = function (toolName, appGui) {
button.id = toolName;
button.title = toolName;
button.appendChild(svg);
// onclick callback
if (toolName === 'Reset') {
button.onclick = function () {
appGui.onDisplayReset();
Expand Down

0 comments on commit c796a36

Please sign in to comment.