Skip to content

Commit

Permalink
Fixed bug where 0 tokens in a place would be displayed as #0 in CPN
Browse files Browse the repository at this point in the history
  • Loading branch information
mtygesen committed Oct 23, 2023
1 parent 80e8b5b commit 3183c6f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ protected void paintTokens(Graphics g) {
g.drawString("#" + marking, x, y + 20);
} else if (marking > 9) {
g.drawString("#" + marking, x + 2, y + 20);
} else {
} else if (marking > 0) {
g.drawString("#" + marking, x + 6, y + 20);
}
}
Expand Down

0 comments on commit 3183c6f

Please sign in to comment.