From ed43de8c39d2d6025a302a4842977f0b631ddc79 Mon Sep 17 00:00:00 2001 From: Lennard Sprong Date: Sun, 18 Aug 2024 20:52:41 +0200 Subject: [PATCH] Graphics tweak --- src/variety/nagare.js | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/variety/nagare.js b/src/variety/nagare.js index 365bd57e1..cb26517ad 100644 --- a/src/variety/nagare.js +++ b/src/variety/nagare.js @@ -507,9 +507,16 @@ } }, "Graphic@fakearrow": { + gridcolor_type: "SLIGHT", + getBorderColor: function(border) { var cell1 = border.sidecell[0], cell2 = border.sidecell[1]; + + if (cell1.isEmpty() && cell2.isEmpty()) { + return null; + } + if ( border.inside && !cell1.isnull && @@ -520,8 +527,8 @@ } return this.getBorderColor_ques(border); }, - getBGCellColor: function(cell) { - return cell.ques === 7 ? "black" : this.getBGCellColor_error1(cell); + getQuesCellColor: function(cell) { + return cell.ques === 7 ? "darkgray" : null; }, getCellArrowOutline: function(cell) { return this.quescolor;