Skip to content

Commit

Permalink
try to fix inexact error with mouseposition
Browse files Browse the repository at this point in the history
  • Loading branch information
j-fu committed Sep 7, 2021
1 parent 0bf2c66 commit 4545183
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "GridVisualize"
uuid = "5eed8a63-0fb0-45eb-886d-8d5a387d12b8"
authors = ["Juergen Fuhrmann <[email protected]>"]
version = "0.2.12"
version = "0.2.13"

[deps]
ColorSchemes = "35d6a980-a343-548e-a6ea-1d62b119f2f4"
Expand Down
2 changes: 1 addition & 1 deletion src/flippablelayout.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4545183

Please sign in to comment.