Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
cs0x7f committed Jun 17, 2024
1 parent 5c4ab0e commit 32ad3ab
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,7 @@ a {
color: inherit;
}

.click, .times, .tab, .table, .mybutton, .tabValue, .expOauth, .title, #touch, #lcd {
.click, .times, .tab, .table, .mybutton, .tabValue, .expOauth, .title, #touch, #lcd, .noselect {
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
Expand Down
5 changes: 5 additions & 0 deletions src/js/scramble/scramble.js
Original file line number Diff line number Diff line change
Expand Up @@ -745,6 +745,11 @@ var scramble = execMain(function(rn, rndEl) {
'c': 'copy',
'+': 'pointer'
}[value[1]]);
if (value[1] == 'n') {
ssdiv.removeClass('noselect');
} else {
ssdiv.addClass('noselect');
}
}
} else if (signal == 'button' && value[0] == 'scramble') {
isEn = value[1];
Expand Down
2 changes: 1 addition & 1 deletion src/js/scramble/utilscramble.js
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@
for (j = 0; j < 10; j++) {
ret += (j % 2 == 0 ? ("Rr".charAt(rn(2))) : ("Dd".charAt(rn(2)))) + rndEl(["+ ", "++", "- ", "--"]) + " ";
}
ret += "y" + rndEl(minxsuff) + "\\n";
ret += "y" + rndEl(minxsuff).padEnd(2, '~') + "\\n";
}
return ret;
}
Expand Down

0 comments on commit 32ad3ab

Please sign in to comment.