Skip to content

Commit

Permalink
fix black background in docs gifs
Browse files Browse the repository at this point in the history
  • Loading branch information
baggepinnen committed Nov 3, 2023
1 parent 050678f commit 4b84399
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ext/Render.jl
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,9 @@ function render(model, sol,
timevec = range(sol.t[1], sol.t[end], step=1/framerate)
end
# with_theme(theme_dark()) do
fig = Figure()
scene = LScene(fig[1, 1]).scene
# fig = Figure()
# scene = LScene(fig[1, 1]).scene # This causes a black background in the docs
scene = Scene()

cam3d!(scene)
scene.camera.view[] = [
Expand Down

0 comments on commit 4b84399

Please sign in to comment.