Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use Makie 0.21 #12

Merged
merged 5 commits into from
Aug 20, 2024
Merged

use Makie 0.21 #12

merged 5 commits into from
Aug 20, 2024

Conversation

rafaqz
Copy link
Collaborator

@rafaqz rafaqz commented Aug 18, 2024

No description provided.

Copy link

codecov bot commented Aug 18, 2024

Codecov Report

Attention: Patch coverage is 72.72727% with 3 lines in your changes missing coverage. Please review.

Project coverage is 29.60%. Comparing base (4cd0ec6) to head (8b1ec0a).
Report is 5 commits behind head on main.

Files Patch % Lines
src/geometry_canvas.jl 57.14% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #12      +/-   ##
==========================================
- Coverage   29.78%   29.60%   -0.19%     
==========================================
  Files           5        5              
  Lines         413      402      -11     
==========================================
- Hits          123      119       -4     
+ Misses        290      283       -7     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

version = "0.2.1"
version = "0.2.2"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be breaking? It will cause a lot of workflows using eg CanvasSelect to fail...

Suggested change
version = "0.2.1"
version = "0.2.2"
version = "0.3.0"

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah I bumped the version before I broke everything

src/geometry_canvas.jl Outdated Show resolved Hide resolved
@@ -425,7 +427,7 @@ function add_events!(c::GeometryCanvas{<:Point};


# Mouse down event
on(events(ax.scene).mousebutton, priority=100) do event
on(events(ax.scene).mousebutton, priority=-100) do event
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this fix the issue you posted about?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It might create other issues though... like you wont be able to draw over Tyler.jl maps

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was hoping that popups were somehow separate from this system - because they are style as being above any other layer

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If it's just a plot then no...and it looks like you are using Consume(true) in places as well so it shouldn't be an issue there. Why would Tyler be a problem here?

Copy link
Collaborator Author

@rafaqz rafaqz Aug 20, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Like shouldn't popups have a priority of typemax(Int) ? @SimonDanisch how does this work exactly?

How can MakieDraw layers be always above the other layers but below Menu popups in click event order

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Menu has a priority of 65 ^^ so I guess it needs to below that? And all others should have 1 as a default...
Anything unimportant is negative and system stuff should have something like max int, I think.
Definitely needs some better docs

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh good maybe MakieDraw can be 50 then rather than 100

Co-authored-by: Anshul Singhvi <[email protected]>
@rafaqz rafaqz merged commit 8e13213 into main Aug 20, 2024
3 checks passed
@rafaqz rafaqz deleted the update_makie branch August 20, 2024 16:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants