restore color after updating
This commit is contained in:
@@ -371,8 +371,9 @@ function nextstep() {
|
|||||||
layer.draw();
|
layer.draw();
|
||||||
pc = pc + 1;
|
pc = pc + 1;
|
||||||
}else if(pc==2){
|
}else if(pc==2){
|
||||||
// update 5 to 7
|
// update 5 to 7, and restore color to normal
|
||||||
stage.find('#node_text_'+5).text("7");
|
stage.find('#node_text_'+5).text("7");
|
||||||
|
stage.find('#node_'+5).fill("lightgray");
|
||||||
layer.draw();
|
layer.draw();
|
||||||
pc = pc + 1;
|
pc = pc + 1;
|
||||||
}else if(pc==3){
|
}else if(pc==3){
|
||||||
|
|||||||
Reference in New Issue
Block a user