From dfcaa3a76e462b2a9577cdcde49f8e7a68b1d4a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Fuhrmann?= Date: Wed, 22 Nov 2023 14:39:08 +0100 Subject: [PATCH] .px_area -> viewport --- Project.toml | 2 +- src/flippablelayout.jl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Project.toml b/Project.toml index 09bbc8d..106962c 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "GridVisualize" uuid = "5eed8a63-0fb0-45eb-886d-8d5a387d12b8" authors = ["Juergen Fuhrmann "] -version = "1.3.1" +version = "1.3.2" [deps] ColorSchemes = "35d6a980-a343-548e-a6ea-1d62b119f2f4" diff --git a/src/flippablelayout.jl b/src/flippablelayout.jl index dd0f5d3..61a0d5b 100644 --- a/src/flippablelayout.jl +++ b/src/flippablelayout.jl @@ -95,7 +95,7 @@ end function _inscene(l, pos) if isa(l, Makie.Block) - _inarea(l.scene.px_area[], pos) + _inarea(l.scene.viewport[], pos) elseif isa(l, Makie.GridLayout) _inarea(l.layoutobservables.computedbbox[], pos) end