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:
parent
0c26717ba3
commit
cf4a43e4c0
6 changed files with 37 additions and 2 deletions
|
@ -54,5 +54,11 @@
|
|||
text: "Show coordinates"
|
||||
checkbox_position: "Right"
|
||||
}
|
||||
|
||||
@GUI::CheckBox {
|
||||
name: "highlight_checks"
|
||||
text: "Highlight checks"
|
||||
checkbox_position: "Right"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue