Restore hover border to pool tiles.
This commit is contained in:
parent
4c8a1b4915
commit
e6f677b129
@ -867,7 +867,7 @@ const INTERFACE = {
|
||||
|
||||
// Draw border
|
||||
let turn_indicator = player == (GAME_DATA.turn & 1) && (INTERFACE_DATA.player == player || INTERFACE_DATA.player == 2);
|
||||
if(background_color !== null || turn_indicator) {
|
||||
if(is_hover || background_color !== null || turn_indicator) {
|
||||
if(is_hover) { this.ctx.fillStyle = INTERFACE.Color.HintHover; }
|
||||
else { this.ctx.fillStyle = player_color; }
|
||||
this.ctx.beginPath();
|
||||
|
Loading…
x
Reference in New Issue
Block a user