Commit 2a8a2047 authored by Loic Guegan's avatar Loic Guegan
Browse files

Debug unfolding

parent 1a3e523a
Pipeline #219610605 passed with stage
in 8 minutes and 30 seconds
......@@ -223,8 +223,10 @@ void PGNEditor::DrawVariations(Move *line) {
if(IsMouseClicked||IsMouseDoubleClicked){
if(MouseHover(sep)){
if(IsMouseDoubleClicked)
UnfoldLine(line);
if(IsMouseDoubleClicked){
for (auto move : line->variations)
UnfoldLine(move);
}
else
line->fold=!line->fold;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment