X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fbase_rules.js;h=1795b5fa97f9a8cd46adb202b857c1a879cf76ff;hb=90df90bca1a993930a0e1a07a1b4990dd538c6e2;hp=99de62658f9f3df3df795d50840bde55f1e4483a;hpb=107dc1bd5361e2538b1551bdcc37c1e90a444b83;p=vchess.git diff --git a/client/src/base_rules.js b/client/src/base_rules.js index 99de6265..1795b5fa 100644 --- a/client/src/base_rules.js +++ b/client/src/base_rules.js @@ -117,6 +117,11 @@ export const ChessRules = class ChessRules { return null; } + // Some variants may need to highlight squares on hover (Hamilton, Weiqi...) + hoverHighlight() { + return false; + } + static get IMAGE_EXTENSION() { // All pieces should be in the SVG format return ".svg";