1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 13:27:36 +00:00

Chess+GameSettings: Optionally highlight the king when in check

When either king is in check, its square is now highlighted with a red
background. This behavior can be toggled in GameSettings.
This commit is contained in:
Tim Ledbetter 2023-05-09 20:01:47 +01:00 committed by Sam Atkins
parent 0c26717ba3
commit cf4a43e4c0
6 changed files with 37 additions and 2 deletions

View file

@ -54,5 +54,11 @@
text: "Show coordinates"
checkbox_position: "Right"
}
@GUI::CheckBox {
name: "highlight_checks"
text: "Highlight checks"
checkbox_position: "Right"
}
}
}