Skip to content

Commit

Permalink
use proper number of vertical lines
Browse files Browse the repository at this point in the history
  • Loading branch information
mousetail committed Apr 13, 2024
1 parent 0bc2f6b commit a20d69e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scripts/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ function reset() {
let text_size = Math.max(
Math.min(
0.8 * size.width / longest_line,
0.8 * size.height / 4,
0.8 * size.height / code_textarea.value.split('\n').length,
80
),
12
Expand Down

0 comments on commit a20d69e

Please sign in to comment.