Skip to content

Commit

Permalink
delete from avoid_set when editing
Browse files Browse the repository at this point in the history
  • Loading branch information
rooklift committed Mar 1, 2024
1 parent 1f00fa3 commit aecec05
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/modules/hub.js
Original file line number Diff line number Diff line change
Expand Up @@ -1259,6 +1259,7 @@ let hub_main_props = {
this.draw();
} else if (["AB", "AW", "AE"].includes(config.editing)) {
this.halt();
delete config.avoid_set[s] // Reasonable in all cases.
let key = config.editing;
if (event.button === 2 && key !== "AE") {
// When user right click with Add Black or Add White, use the other colour instead.
Expand Down

0 comments on commit aecec05

Please sign in to comment.