Skip to content
Snippets Groups Projects
Commit 58403fe6 authored by Michael Leuschel's avatar Michael Leuschel
Browse files

also show cells with identical values

parent fb8569af
Branches
Tags
No related merge requests found
......@@ -19,7 +19,7 @@
"repeat": [1,2,3,4,5,6,7,8,9],
"id": "board_%0_%1",
"attr": "class",
"value" : "IF curx=%0 & cury=%1 THEN \"selected\" ELSIF %1:dom(PuzzleBoard(%0)) THEN \"fixed\" ELSIF %0|->%1:conflict_pos(curx,cury) THEN IF %1:dom(Board(%0)) & BOARD(%0)(%1)=BOARD(curx)(cury) THEN \"wrong\" ELSE \"hover\" END ELSE \"normal\" END"
"value" : "IF curx=%0 & cury=%1 THEN \"selected\" ELSIF %0|->%1:conflict_pos(curx,cury) THEN IF %1:dom(Board(%0)) & BOARD(%0)(%1)=BOARD(curx)(cury) THEN \"wrong\" ELSE \"hover\" END ELSIF %1:dom(Board(%0)) & BOARD(%0)(%1)=BOARD(curx)(cury) THEN \"hover\" ELSIF %1:dom(PuzzleBoard(%0)) THEN \"fixed\" ELSE \"normal\" END"
},
{
"for": {"from":1, "to":9},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment