Skip to content

Commit

Permalink
Merge pull request #17 from najmiter/Updates
Browse files Browse the repository at this point in the history
Update the default tab size
  • Loading branch information
najmiter authored Feb 1, 2024
2 parents 8b9f7c3 + 3a0d5e6 commit 6cf21cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ const handle_input_key_whoppin = (btn) => {
const end = input_text.selectionEnd;

const tab_size = +document.getElementById("tab-size").value;
Settings.tab_size = tab_size ? tab_size : 5;
Settings.tab_size = tab_size ? tab_size : 4;
const n_spaces = Settings.tab_size;

input_text.style.tabSize = n_spaces;
Expand Down

0 comments on commit 6cf21cd

Please sign in to comment.