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

egui_plot: use f64 for translate #4637

Merged
merged 4 commits into from
Jun 18, 2024
Merged

Conversation

Its-Just-Nans
Copy link
Contributor

@Its-Just-Nans Its-Just-Nans commented Jun 7, 2024

Can fix translating with high zoom out #3462

@Its-Just-Nans
Copy link
Contributor Author

image

nevertheless did someone tried to zoom out more than f64::MAX ?

@Its-Just-Nans Its-Just-Nans changed the title use f64 for translate PLOT - ZOOM FIX use f64 for translate Jun 16, 2024
@Its-Just-Nans Its-Just-Nans changed the title PLOT - ZOOM FIX use f64 for translate PLOT - ZOOM FIX: use f64 for translate Jun 16, 2024
Copy link
Owner

@emilk emilk left a comment

Choose a reason for hiding this comment

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

Thanks!

@emilk emilk added the egui_plot Related to egui_plot label Jun 18, 2024
@emilk emilk changed the title PLOT - ZOOM FIX: use f64 for translate egui_plot: use f64 for translate Jun 18, 2024
@emilk emilk merged commit 44d7aab into emilk:master Jun 18, 2024
20 checks passed
@Its-Just-Nans Its-Just-Nans deleted the use-f64-translate branch June 18, 2024 20:56
emilk pushed a commit that referenced this pull request Jun 26, 2024
* Closes <#3462>


#3462 panics when when hit the bound like `f64::MAX` 

This PR "blocks" zoom if to big


Linked to
- comment in
#4637 (comment)
- #3462
@emilk emilk added the bug Something is broken label Jun 27, 2024
emilk pushed a commit to emilk/egui_plot that referenced this pull request Jul 15, 2024
* Closes <emilk/egui#3462>


#3462 panics when when hit the bound like `f64::MAX` 

This PR "blocks" zoom if to big


Linked to
- comment in
emilk/egui#4637 (comment)
- #3462
hacknus pushed a commit to hacknus/egui that referenced this pull request Oct 30, 2024
<!--
Please read the "Making a PR" section of
[`CONTRIBUTING.md`](https://github.com/emilk/egui/blob/master/CONTRIBUTING.md)
before opening a Pull Request!

* Keep your PR:s small and focused.
* The PR title is what ends up in the changelog, so make it descriptive!
* If applicable, add a screenshot or gif.
* If it is a non-trivial addition, consider adding a demo for it to
`egui_demo_lib`, or a new example.
* Do NOT open PR:s from your `master` branch, as that makes it hard for
maintainers to add commits to your PR.
* Remember to run `cargo fmt` and `cargo clippy`.
* Open the PR as a draft until you have self-reviewed it and run
`./scripts/check.sh`.
* When you have addressed a PR comment, mark it as resolved.

Please be patient! I will review your PR, but my time is limited!
-->

Can fix translating with high zoom out
emilk#3462



* Maybe related to emilk#3656
hacknus pushed a commit to hacknus/egui that referenced this pull request Oct 30, 2024
* Closes <emilk#3462>


emilk#3462 panics when when hit the bound like `f64::MAX` 

This PR "blocks" zoom if to big


Linked to
- comment in
emilk#4637 (comment)
- emilk#3462
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is broken egui_plot Related to egui_plot
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants