Restore movement hints on hover hints.

This commit is contained in:
yukirij 2024-08-18 02:07:49 -07:00
parent 9c25f65820
commit 10aa79366a

View File

@ -391,7 +391,7 @@ const INTERFACE = {
// Draw tile content // Draw tile content
if(piece !== null) { if(piece !== null) {
// Draw border hints // Draw border hints
if(!is_hover && hover_state == 0) { draw.hints(piece); } if(!is_hover) { draw.hints(piece); }
// Draw piece icon // Draw piece icon
if(piece.promoted) { ctx.drawImage(GAME_ASSET.Image.Promote, -icon_radius, -icon_radius, icon_radius * 2., icon_radius * 2.); } if(piece.promoted) { ctx.drawImage(GAME_ASSET.Image.Promote, -icon_radius, -icon_radius, icon_radius * 2., icon_radius * 2.); }