Skip to content
Snippets Groups Projects
Commit 7c0b7189 authored by moritz.buchhorn's avatar moritz.buchhorn
Browse files

Fixed an off-by-one error

parent 777d8f9d
No related branches found
No related tags found
No related merge requests found
......@@ -274,7 +274,7 @@ class Trajectory:
"method": "restyle",
"args": [{"visible": [False] * mesh_elements_cumulative[-1]}]
}
step["args"][0]["visible"][mesh_elements_cumulative[i]:mesh_elements_cumulative[i+1]] = [True] * mesh_elements[i]
step["args"][0]["visible"][mesh_elements_cumulative[i]:mesh_elements_cumulative[i+1]] = [True] * mesh_elements[i+1]
slider_steps.append(step)
# Make the slider
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment