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

fix(deps): update rust crate eframe to 0.29 #51

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 23, 2023

This PR contains the following updates:

Package Type Update Change
eframe (source) dependencies minor 0.27 -> 0.29

Release Notes

emilk/egui (eframe)

v0.29.0

Compare Source

✨ Highlights
🧳 Migration
  • WebRunner::start now expects a HtmlCanvasElement rather than the id of it (#​4780)
  • NativeOptions::follow_system_theme and default_theme is gone, and is now in egui::Options instead (#​4860 by @​bash)
⭐ Added
🔧 Changed
🐛 Fixed

v0.28.1

Compare Source

v0.28.0

Compare Source

✨ Highlights

The eframe web canvas now works properly when its a small part of a larger web page.
Previously this caused a lot of weird bugs, such as the eframe canvas stealing focus, and resizing the canvas in annoying ways.
Now it should all work seamlessly to have an eframe canvas as part of a web page, including having multiple different eframe apps next to each other.
As part of that the eframe canvas can now be focused (or not), just like an <input> HTML element.

We've also implemented a better method for sizing and positioning the canvas so that it yields pixel-perfect rendering on all known browsers except for Desktop Safari.
What this means is that text is much less likely to be blurry on web for users (#​4536 by @​jprochazk).

⭐ Added
🔧 Changed
🐛 Fixed
🧳 Migration
Wrap app creator in a Result

Applications can now return an error during the app creation (#​4565 by @​emilk), so you now need to wrap your Box<dyn App> in a Result like so:

- eframe::run_native("My App", options, Box::new(|cc| Box::new(MyApp::new(cc))));
+ eframe::run_native("My App", options, Box::new(|cc| Ok(Box::new(MyApp::new(cc)))));
Change web CSS

To make the eframe canvas fill the entire web browser, set its CSS to:

top: 0;
left: 0;
width: 100%;
height: 100%;

See index.html and #​4536 for details.

Web canvas focus

If you are using eframe for a fullscreen app, you should call .focus() on your canvas during startup:

document.getElementById("the_canvas_id").focus();

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot changed the title fix(deps): update rust crate eframe to 0.24.0 fix(deps): update rust crate eframe to 0.24.1 Nov 30, 2023
@renovate renovate bot changed the title fix(deps): update rust crate eframe to 0.24.1 fix(deps): update rust crate eframe to 0.25.0 Jan 8, 2024
@renovate renovate bot changed the title fix(deps): update rust crate eframe to 0.25.0 fix(deps): update rust crate eframe to 0.26.0 Feb 5, 2024
@renovate renovate bot changed the title fix(deps): update rust crate eframe to 0.26.0 fix(deps): update rust crate eframe to 0.26.1 Feb 11, 2024
@renovate renovate bot changed the title fix(deps): update rust crate eframe to 0.26.1 fix(deps): update rust crate eframe to 0.26.2 Feb 14, 2024
@renovate renovate bot changed the title fix(deps): update rust crate eframe to 0.26.2 fix(deps): update rust crate eframe to 0.26.2 - autoclosed Mar 13, 2024
@renovate renovate bot closed this Mar 13, 2024
@renovate renovate bot deleted the renovate/eframe-0.x branch March 13, 2024 06:27
@renovate renovate bot restored the renovate/eframe-0.x branch March 16, 2024 16:55
@renovate renovate bot changed the title fix(deps): update rust crate eframe to 0.26.2 - autoclosed fix(deps): update rust crate eframe to 0.26.2 Mar 16, 2024
@renovate renovate bot reopened this Mar 16, 2024
@renovate renovate bot changed the title fix(deps): update rust crate eframe to 0.26.2 fix(deps): update rust crate eframe to 0.26.2 - autoclosed Mar 24, 2024
@renovate renovate bot closed this Mar 24, 2024
@renovate renovate bot deleted the renovate/eframe-0.x branch March 24, 2024 15:02
@renovate renovate bot changed the title fix(deps): update rust crate eframe to 0.26.2 - autoclosed fix(deps): update rust crate eframe to 0.26.2 Mar 24, 2024
@renovate renovate bot reopened this Mar 24, 2024
@renovate renovate bot restored the renovate/eframe-0.x branch March 24, 2024 16:52
@renovate renovate bot changed the title fix(deps): update rust crate eframe to 0.26.2 fix(deps): update rust crate eframe to 0.26.2 - autoclosed Mar 25, 2024
@renovate renovate bot closed this Mar 25, 2024
@renovate renovate bot deleted the renovate/eframe-0.x branch March 25, 2024 06:45
@renovate renovate bot changed the title fix(deps): update rust crate eframe to 0.26.2 - autoclosed fix(deps): update rust crate eframe to 0.26.2 Mar 26, 2024
@renovate renovate bot reopened this Mar 26, 2024
@renovate renovate bot restored the renovate/eframe-0.x branch March 26, 2024 20:30
@renovate renovate bot changed the title fix(deps): update rust crate eframe to 0.26.2 fix(deps): update rust crate eframe to 0.27 Mar 26, 2024
@renovate renovate bot changed the title fix(deps): update rust crate eframe to 0.27 fix(deps): update rust crate eframe to 0.27.2 May 1, 2024
@renovate renovate bot force-pushed the renovate/eframe-0.x branch 2 times, most recently from 4f58776 to d2c804f Compare May 5, 2024 10:54
@renovate renovate bot changed the title fix(deps): update rust crate eframe to 0.27.2 fix(deps): update rust crate eframe to 0.27 May 5, 2024
@renovate renovate bot changed the title fix(deps): update rust crate eframe to 0.27 fix(deps): update rust crate eframe to 0.28 Jul 3, 2024
@renovate renovate bot changed the title fix(deps): update rust crate eframe to 0.28 fix(deps): update rust crate eframe to 0.29 Sep 26, 2024
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.

0 participants