Skip to content

Commit

Permalink
merge CURRENT_DEFAULT_THEME to scene.theme after empty! (#3100)
Browse files Browse the repository at this point in the history
* merge CURRENT_DEFAULT_THEME to scene.theme after empty!

* Update scenes.jl

---------

Co-authored-by: Simon <[email protected]>
  • Loading branch information
s-fuerst and SimonDanisch authored Jul 28, 2023
1 parent d85ca14 commit 5ba7894
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/scenes.jl
Original file line number Diff line number Diff line change
Expand Up @@ -440,6 +440,7 @@ function Base.empty!(scene::Scene)
empty!(scene.children)
empty!(scene.plots)
empty!(scene.theme)
merge_without_obs!(scene.theme, CURRENT_DEFAULT_THEME)
disconnect!(scene.camera)
scene.camera_controls = EmptyCamera()

Expand Down

0 comments on commit 5ba7894

Please sign in to comment.