From c7dfadc62e2c9441e9950007d59a9d73413a1f00 Mon Sep 17 00:00:00 2001 From: Anshul Singhvi Date: Fri, 10 May 2024 14:50:12 -0400 Subject: [PATCH] Fix old API usage for Camera3D --- ext/TrixiMakieExt.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/TrixiMakieExt.jl b/ext/TrixiMakieExt.jl index 301a7656da9..fdc73cb4a0b 100644 --- a/ext/TrixiMakieExt.jl +++ b/ext/TrixiMakieExt.jl @@ -262,7 +262,7 @@ function iplot(pd::PlotData2DTriangulated; # On OSX, shift-command-4 for screenshots triggers a constant "up-zoom". # To avoid this, we remap up-zoom to the right shift button instead. - Makie.cameracontrols(ax.scene).attributes[:up_key][] = Makie.Keyboard.right_shift + Makie.cameracontrols(ax.scene).controls[:up_key][] = Makie.Keyboard.right_shift # typing this pulls up the figure (similar to display(plot!()) in Plots.jl) fig