From 4545183ca433b162c834f9ae5e9e35b2c37448c9 Mon Sep 17 00:00:00 2001 From: Juergen Fuhrmann Date: Tue, 7 Sep 2021 21:23:18 +0200 Subject: [PATCH] try to fix inexact error with mouseposition --- Project.toml | 2 +- src/flippablelayout.jl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Project.toml b/Project.toml index 3a1622b..70f1b58 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "GridVisualize" uuid = "5eed8a63-0fb0-45eb-886d-8d5a387d12b8" authors = ["Juergen Fuhrmann "] -version = "0.2.12" +version = "0.2.13" [deps] ColorSchemes = "35d6a980-a343-548e-a6ea-1d62b119f2f4" diff --git a/src/flippablelayout.jl b/src/flippablelayout.jl index c73428d..7d66e14 100644 --- a/src/flippablelayout.jl +++ b/src/flippablelayout.jl @@ -141,7 +141,7 @@ function flayoutscene(;blocked=false, gallery_view=Makie.Node(true) # Watch mouse position - mouseposition=Makie.Node((0,0)) + mouseposition=Makie.Node((0.0,0.0)) Makie.on(parent.events.mouseposition) do m mouseposition[]=m