special_count *= 10;
special_count += special_count_key;
special_count %= 100000;
- special_count_reupdate();
+ mousecursor_etc_reupdate();
return;
}
if (e.key == ' ') {
y();
special_count = null;
- special_count_reupdate();
+ mousecursor_etc_reupdate();
return;
}
new_e.removeAttribute('style');
}
-function special_count_reupdate() {
+function mousecursor_etc_reupdate() {
let style_elem = document.getElementById("space-cursor-style")!;
let style_text;
let svg;
let multigrab = c.multigrab;
special_count = null;
- special_count_reupdate();
+ mousecursor_etc_reupdate();
drag_cancel();
drag_pieces = [];
if (pos2 == null) {
// clicked not on a piece, and didn't drag
special_count = null;
- special_count_reupdate();
+ mousecursor_etc_reupdate();
// we'll bail in a moment, after possibly unselecting things
}
// did the special
special_count = null;
- special_count_reupdate();
+ mousecursor_etc_reupdate();
if (rectsel_shifted && c.held == us) {
ungrab_clicked(c.clicked);