conjure-cp / permutation-patterns-demo

https://conjure-cp.github.io/permutation-patterns-demo/
Mozilla Public License 2.0
0 stars 3 forks source link

Shaded Regions Disappearing #2

Open ruthhoffmann opened 1 year ago

ruthhoffmann commented 1 year ago

The shaded grid squares disappear when a pattern has been submitted to the solver and the user selects to change the parameters.

So once a permutation is submitted and the solve button has been clicked. After that when the pattern is selected from the button list, only the permutation is visible, the previously shaded grid is missing.

ruthhoffmann commented 1 year ago

Expanding on how to recreate the bad behaviour: 1) Choose a permutation and submit it 2) Choose the type to be Mesh and shade any grid cells and add the underlying pattern (it does not matter if it is containment or avoidance) 3) Choose a length and press solve 4) From the results page click on Edit Parameters 5) Then select the permutation from the Added Pattern(s) list. The originally highlighted grid cells will have disappeared. But the permutation is still there.