Skip to content

Commit

Permalink
Graphics tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
x-sheep committed Aug 18, 2024
1 parent f0ed2a0 commit ed43de8
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions src/variety/nagare.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 &&
Expand All @@ -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;
Expand Down

0 comments on commit ed43de8

Please sign in to comment.