hack-ink / AiR

AI with Rust.
GNU General Public License v3.0
131 stars 6 forks source link

Bump eframe from 0.24.1 to 0.26.1 #20

Closed dependabot[bot] closed 9 months ago

dependabot[bot] commented 9 months ago

Bumps eframe from 0.24.1 to 0.26.1.

Release notes

Sourced from eframe's releases.

0.26.1 - Bug Fixes

egui is an easy-to-use immediate mode GUI for Rust that runs on both web and native.

Try it the only demo: https://www.egui.rs/

egui

  • Fix Window title bar incorrect handling spacing #3995 (thanks @​varphone!)
  • Make on_disabled_hover_ui respect tooltip_delay #4012 (thanks @​YgorSouza!)
  • Fix TextEdit being too short whenever there is horizontal margin #4005 (thanks @​gweisert!)
  • Fix Response::interact and Ui:interact_with_hovered #4013
  • Fix: Response.interact_pointer_pos is Some on click and drag released #4014
  • Fix custom Window Frames #4009 (thanks @​varphone!)

eframe

  • Fix high CPU usage on Windows when app is minimized #3985 (thanks @​rustbasic!)
  • Update to document-features 0.2.8 #4003

egui_glow

  • Only disable sRGB framebuffer on supported platforms #3994 (thanks @​Nopey!)

egui-wgpu

  • Improve panic message in egui-wgpu when failing to create buffers #3986

0.26.0 - Text selection in labels

egui is an easy-to-use immediate mode GUI for Rust that runs on both web and native.

Try it now: https://www.egui.rs/

text_selection

egui changelog

⚠️ BREAKING

  • Always set response.hovered to false when dragging another widget #3860
  • InputState::scroll_delta has been replaced by InputState::raw_scroll_delta and InputState::smooth_scroll_delta #3884
  • Improve Response.dragged, drag_started and clicked #3888

⭐ Added

  • Selectable text in Labels #3814 #3870
  • Add some drag-and-drop-related APIs in Response and Memory #3876 (thanks @​abey79!)
  • Add drag-and-drop APIs with payloads storage #3887
  • ComboBox: add builder method for height #3001 (thanks @​hinto-janai!)
  • Add keys ?, /, | #3820
  • Add Response::contains_pointer #3859
  • Add Align2::anchor_size #3863
  • Add Context::debug_text #3864
  • Allow read access to shapes added to painter this frame #3866 (thanks @​brunizzl!)
  • Register callbacks with Context::on_begin_frame and on_end_frame #3886
  • Improve Frame API to allow picking color until after adding content #3889
  • Add opacity factor to TextShape #3916 (thanks @​StratusFearMe21!)

... (truncated)

Changelog

Sourced from eframe's changelog.

0.26.1 - 2024-02-11

  • Fix Window title bar incorrect handling spacing #3995 (thanks @​varphone!)
  • Make on_disabled_hover_ui respect tooltip_delay #4012 (thanks @​YgorSouza!)
  • Fix TextEdit being too short whenever there is horizontal margin #4005 (thanks @​gweisert!)
  • Fix Response::interact and Ui:interact_with_hovered #4013
  • Fix: Response.interact_pointer_pos is Some on click and drag released #4014
  • Fix custom Window Frames #4009 (thanks @​varphone!)

0.26.0 - 2024-02-05 - Text selection in labels

⚠️ BREAKING

  • Always set response.hovered to false when dragging another widget #3860
  • InputState::scroll_delta has been replaced by InputState::raw_scroll_delta and InputState::smooth_scroll_delta #3884
  • Improve Response.dragged, drag_started and clicked #3888

⭐ Added

  • Selectable text in Labels #3814 #3870
  • Add some drag-and-drop-related APIs in Response and Memory #3876 (thanks @​abey79!)
  • Add drag-and-drop APIs with payloads storage #3887
  • ComboBox: add builder method for height #3001 (thanks @​hinto-janai!)
  • Add keys ?, /, | #3820
  • Add Response::contains_pointer #3859
  • Add Align2::anchor_size #3863
  • Add Context::debug_text #3864
  • Allow read access to shapes added to painter this frame #3866 (thanks @​brunizzl!)
  • Register callbacks with Context::on_begin_frame and on_end_frame #3886
  • Improve Frame API to allow picking color until after adding content #3889
  • Add opacity factor to TextShape #3916 (thanks @​StratusFearMe21!)
  • Context::repaint_causes: file:line of what caused a repaint #3949
  • Add TextureOptions::wrap_mode #3954 (thanks @​CodedNil!)
  • Add Spacing::menu_width #3973

🔧 Changed

  • Move text selection logic to own module #3843
  • Smooth scrolling #3884
  • Turn off text wrapping by default in combo-box popups #3912
  • Response.context_menu now returns the response of the context menu, if open #3904 (thanks @​AufarZakiev!)
  • Update to puffin 0.19 #3940
  • Wait with showing tooltip until mouse has been still for 300ms #3977

🐛 Fixed

  • Fix: dragging to above/below a TextEdit or Label will select text to begin/end #3858
  • Fix clickable widgets blocking scrolling on touch screens #3815 (thanks @​lucasmerlin!)
  • Fix stable_dt #3832
  • Bug Fix : Response::is_pointer_button_down_on is now false the frame the button is released #3833 (thanks @​rustbasic!)
  • Use runtime knowledge of OS for OS-specific text editing #3840
  • Fix calling request_repaint_after every frame causing immediate repaint #3978

🚀 Performance

... (truncated)

Commits
  • a8501c9 Release 0.26.1 - Bug Fixes
  • 0d17b67 egui: Fix custom Window Frames (#4009)
  • 109c0a8 Revert renaming a field in WidgetRect to avoid semver breakage
  • 6e4dab9 Revert semver-breaking change, and replace with temporary HACK
  • 12749f3 Take clip_rect into account when storing widget rects (#4020)
  • 45154fc Fix: Response.interact_pointer_pos is Some on click and drag released (#4...
  • df7e4a5 Fix Response::interact and Ui:interact_with_hovered (#4013)
  • db00dc6 Fix TextEdit being too short whenever there is horizontal margin (#4005)
  • 820a3ba egui demo: Fix space reserved for source code link (#3983)
  • 1fe0f24 Improve panic message in egui-wgpu when failing to create buffers (#3986)
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
dependabot[bot] commented 9 months ago

The following labels could not be found: Bot, Dep.

dependabot[bot] commented 9 months ago

Superseded by #22.