emilk/egui (eframe)
### [`v0.28.1`](https://togithub.com/emilk/egui/blob/HEAD/crates/eframe/CHANGELOG.md#0281---2024-07-05)
[Compare Source](https://togithub.com/emilk/egui/compare/0.28.0...0.28.1)
- Web: only capture clicks/touches when actually over canvas [#4775](https://togithub.com/emilk/egui/pull/4775) by [@lucasmerlin](https://togithub.com/lucasmerlin)
### [`v0.28.0`](https://togithub.com/emilk/egui/blob/HEAD/crates/eframe/CHANGELOG.md#0280---2024-07-03---Better-integration-of-a-eframe-in-a-bigger-website)
[Compare Source](https://togithub.com/emilk/egui/compare/0.27.2...0.28.0)
##### ✨ 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 `` 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](https://togithub.com/emilk/egui/pull/4536) by [@jprochazk](https://togithub.com/jprochazk)).
##### ⭐ Added
- Add `register_native_texture` in `eframe::Frame` [#4246](https://togithub.com/emilk/egui/pull/4246) by [@Chaojimengnan](https://togithub.com/Chaojimengnan)
- Add `NativeOptions::persistence_path` [#4423](https://togithub.com/emilk/egui/pull/4423) by [@lucasmerlin](https://togithub.com/lucasmerlin)
- Make sure to call `raw_input_hook` on web [#4646](https://togithub.com/emilk/egui/pull/4646) by [@owen-d](https://togithub.com/owen-d)
##### 🔧 Changed
- Early-out from context switching the `glow` backend [#4284](https://togithub.com/emilk/egui/pull/4284), [#4296](https://togithub.com/emilk/egui/pull/4296) by [@emilk](https://togithub.com/emilk)
- Allow users to create viewports larger than monitor on Windows & macOS [#4337](https://togithub.com/emilk/egui/pull/4337) by [@lopo12123](https://togithub.com/lopo12123)
- Use `objc2` and its framework crates [#4395](https://togithub.com/emilk/egui/pull/4395) by [@madsmtm](https://togithub.com/madsmtm)
- Emit physical key presses when a non-Latin layout is active [#4461](https://togithub.com/emilk/egui/pull/4461) by [@TicClick](https://togithub.com/TicClick)
- Clamp window size to monitor size by default on all platforms [#4410](https://togithub.com/emilk/egui/pull/4410) by [@rustbasic](https://togithub.com/rustbasic)
- Ignore synthetic key presses [#4514](https://togithub.com/emilk/egui/pull/4514) by [@hut](https://togithub.com/hut)
- Use `ResizeObserver` instead of `resize` event [#4536](https://togithub.com/emilk/egui/pull/4536) by [@jprochazk](https://togithub.com/jprochazk)
- Make pinch-to-zoom more responsive on web [#4621](https://togithub.com/emilk/egui/pull/4621) by [@emilk](https://togithub.com/emilk)
- Move first `request_animation_frame` into resize observer [#4628](https://togithub.com/emilk/egui/pull/4628) by [@jprochazk](https://togithub.com/jprochazk)
- Replace `directories-next` dependency with `directories` [#4661](https://togithub.com/emilk/egui/pull/4661) by [@crumblingstatue](https://togithub.com/crumblingstatue)
- `eframe::Result` is now short for `eframe::Result<()>` [#4706](https://togithub.com/emilk/egui/pull/4706) by [@emilk](https://togithub.com/emilk)
- Ignore keyboard events unless canvas has focus [#4718](https://togithub.com/emilk/egui/pull/4718) by [@emilk](https://togithub.com/emilk)
##### 🐛 Fixed
- Fix `ViewportCommand::InnerSize` not resizing viewport on Wayland ([#4211](https://togithub.com/emilk/egui/issues/4211)) [#4211](https://togithub.com/emilk/egui/pull/4211) by [@rustbasic](https://togithub.com/rustbasic)
- Improve IME support with new `Event::Ime` [#4358](https://togithub.com/emilk/egui/pull/4358) by [@rustbasic](https://togithub.com/rustbasic)
- IME for chinese [#4436](https://togithub.com/emilk/egui/pull/4436) by [@rustbasic](https://togithub.com/rustbasic)
- Fix: Window position creeps between executions on scaled monitors [#4443](https://togithub.com/emilk/egui/pull/4443) by [@avery-radmacher](https://togithub.com/avery-radmacher)
- Fix: still track mouse when dragging outside web canvas [#4522](https://togithub.com/emilk/egui/pull/4522) by [@emilk](https://togithub.com/emilk)
- Fix: Don't `.forget()` RAF closure [#4551](https://togithub.com/emilk/egui/pull/4551) by [@jprochazk](https://togithub.com/jprochazk)
- Improve web text agent [#4561](https://togithub.com/emilk/egui/pull/4561) by [@jprochazk](https://togithub.com/jprochazk)
- Fix broken mouse coordinates when there's padding on the canvas element [#4729](https://togithub.com/emilk/egui/pull/4729) by [@emilk](https://togithub.com/emilk)
- Only repaint on cursor movements of area, or if dragging outside [#4730](https://togithub.com/emilk/egui/pull/4730) by [@emilk](https://togithub.com/emilk)
- Fix drag-and-drop file preview/hover [#4732](https://togithub.com/emilk/egui/pull/4732) by [@emilk](https://togithub.com/emilk)
- Fix stuck keys after pressing ctrl+C, cmd+A, etc [#4731](https://togithub.com/emilk/egui/pull/4731) by [@emilk](https://togithub.com/emilk)
##### 🧳 Migration
- Update MSRV to 1.76 [#4411](https://togithub.com/emilk/egui/pull/4411) by [@emilk](https://togithub.com/emilk)
##### Wrap app creator in a `Result`
Applications can now return an error during the app creation ([#4565](https://togithub.com/emilk/egui/pull/4565) by [@emilk](https://togithub.com/emilk)), so you now need to wrap your `Box` in a `Result` like so:
```diff
- 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:
```css
top: 0;
left: 0;
width: 100%;
height: 100%;
```
See [`index.html`](https://togithub.com/emilk/egui/blob/a489374ca63f0d1ae983bb21d8bb766b2d68737b/web_demo/index.html#L30-L50) and [#4536](https://togithub.com/emilk/egui/pull/4536) for details.
##### Web canvas focus
If you are using eframe for a fullscreen app, you should call `.focus()` on your canvas during startup:
```js
document.getElementById("the_canvas_id").focus();
```
### [`v0.27.2`](https://togithub.com/emilk/egui/blob/HEAD/crates/eframe/CHANGELOG.md#0272---2024-04-02)
[Compare Source](https://togithub.com/emilk/egui/compare/0.27.1...0.27.2)
##### Desktop/Native
- Fix continuous repaint on Wayland when TextEdit is focused or IME output is set [#4269](https://togithub.com/emilk/egui/pull/4269) (thanks [@white-axe](https://togithub.com/white-axe)!)
- Remove a bunch of `unwrap()` [#4285](https://togithub.com/emilk/egui/pull/4285)
##### Web
- Fix blurry rendering in some browsers [#4299](https://togithub.com/emilk/egui/pull/4299)
- Correctly identify if the browser tab has focus [#4280](https://togithub.com/emilk/egui/pull/4280)
### [`v0.27.1`](https://togithub.com/emilk/egui/blob/HEAD/crates/eframe/CHANGELOG.md#0271---2024-03-29)
[Compare Source](https://togithub.com/emilk/egui/compare/0.27.0...0.27.1)
- Web: repaint if the `#hash` in the URL changes [#4261](https://togithub.com/emilk/egui/pull/4261)
- Add web support for `zoom_factor` [#4260](https://togithub.com/emilk/egui/pull/4260) (thanks [@justusdieckmann](https://togithub.com/justusdieckmann)!)
emilk/egui (egui)
### [`v0.28.1`](https://togithub.com/emilk/egui/blob/HEAD/CHANGELOG.md#0281---2024-07-05---Tooltip-tweaks)
[Compare Source](https://togithub.com/emilk/egui/compare/0.28.0...0.28.1)
##### ⭐ Added
- Add `Image::uri()` [#4720](https://togithub.com/emilk/egui/pull/4720) by [@rustbasic](https://togithub.com/rustbasic)
##### 🔧 Changed
- Better documentation for `Event::Zoom` [#4778](https://togithub.com/emilk/egui/pull/4778) by [@emilk](https://togithub.com/emilk)
- Hide tooltips when scrolling [#4784](https://togithub.com/emilk/egui/pull/4784) by [@emilk](https://togithub.com/emilk)
- Smoother animations [#4787](https://togithub.com/emilk/egui/pull/4787) by [@emilk](https://togithub.com/emilk)
- Hide tooltip on click [#4789](https://togithub.com/emilk/egui/pull/4789) by [@emilk](https://togithub.com/emilk)
##### 🐛 Fixed
- Fix default height of top/bottom panels [#4779](https://togithub.com/emilk/egui/pull/4779) by [@emilk](https://togithub.com/emilk)
- Show the innermost debug rectangle when pressing all modifier keys [#4782](https://togithub.com/emilk/egui/pull/4782) by [@emilk](https://togithub.com/emilk)
- Fix occasional flickering of pointer-tooltips [#4788](https://togithub.com/emilk/egui/pull/4788) by [@emilk](https://togithub.com/emilk)
### [`v0.28.0`](https://togithub.com/emilk/egui/blob/HEAD/CHANGELOG.md#0280---2024-07-03---Sizing-pass-UiStack-and-GIF-support)
[Compare Source](https://togithub.com/emilk/egui/compare/0.27.2...0.28.0)
##### ✨ Highlights
- Automatic sizing of menus/popups/tooltips with no jittering, using new *sizing pass* [#4557](https://togithub.com/emilk/egui/pull/4557), [#4579](https://togithub.com/emilk/egui/pull/4579) by [@emilk](https://togithub.com/emilk)
- Support interactive widgets in tooltips [#4596](https://togithub.com/emilk/egui/pull/4596) by [@emilk](https://togithub.com/emilk)
- Add a `ui.stack()` with info about all ancestor `Ui`s, with optional tags [#4588](https://togithub.com/emilk/egui/pull/4588) by [@abey79](https://togithub.com/abey79), [#4617](https://togithub.com/emilk/egui/pull/4617) by [@emilk](https://togithub.com/emilk)
- GIF support [#4620](https://togithub.com/emilk/egui/pull/4620) by [@JustFrederik](https://togithub.com/JustFrederik)
- Blinking text cursor in `TextEdit` [#4279](https://togithub.com/emilk/egui/pull/4279) by [@emilk](https://togithub.com/emilk)
##### 🧳 Migration
- Update MSRV to 1.76 ([#4411](https://togithub.com/emilk/egui/pull/4411))
- The `wrap/truncate` functions on `Label/Button/ComboBox` no longer take bools as arguments. Use `.wrap_mode(…)` instead for more fine control ([#4556](https://togithub.com/emilk/egui/pull/4556))
- `Style::wrap` has been deprecated in favor of `Style::wrap_mode` ([#4556](https://togithub.com/emilk/egui/pull/4556))
- `Ui::new` and `ui.child_ui` now takes a new parameter for the `UiStack` ([#4588](https://togithub.com/emilk/egui/pull/4588))
- The `extra_asserts` and `extra_debug_asserts` feature flags have been removed ([#4478](https://togithub.com/emilk/egui/pull/4478))
- Remove `Event::Scroll` and handle it in egui. Use `Event::MouseWheel` instead ([#4524](https://togithub.com/emilk/egui/pull/4524))
- `Event::Zoom` is no longer emitted on ctrl+scroll. Use `InputState::smooth_scroll_delta` instead ([#4524](https://togithub.com/emilk/egui/pull/4524))
- `ui.set_enabled` and `set_visbile` have been deprecated ([#4614](https://togithub.com/emilk/egui/pull/4614))
- `DragValue::clamp_range` renamed to `range` (([#4728](https://togithub.com/emilk/egui/pull/4728))
##### ⭐ Added
- Overload operators for `Rect + Margin`, `Rect - Margin` etc [#4277](https://togithub.com/emilk/egui/pull/4277) by [@emilk](https://togithub.com/emilk)
- Add `Window::order` [#4301](https://togithub.com/emilk/egui/pull/4301) by [@alexparlett](https://togithub.com/alexparlett)
- Add a way to specify Undoer settings and construct Undoers more easily [#4357](https://togithub.com/emilk/egui/pull/4357) by [@valadaptive](https://togithub.com/valadaptive)
- Add xtask crate [#4293](https://togithub.com/emilk/egui/pull/4293) by [@YgorSouza](https://togithub.com/YgorSouza)
- Add `ViewportCommand::RequestCut`, `RequestCopy` and `RequestPaste` to trigger clipboard actions [#4035](https://togithub.com/emilk/egui/pull/4035) by [@bu5hm4nn](https://togithub.com/bu5hm4nn)
- Added ability to define colors at UV coordinates along a path [#4353](https://togithub.com/emilk/egui/pull/4353) by [@murl-digital](https://togithub.com/murl-digital)
- Add a `Display` impl for `Vec2`, `Pos2`, and `Rect` [#4428](https://togithub.com/emilk/egui/pull/4428) by [@tgross35](https://togithub.com/tgross35)
- Easing functions [#4630](https://togithub.com/emilk/egui/pull/4630) by [@emilk](https://togithub.com/emilk)
- Add `Options::line_scroll_speed` and `scroll_zoom_speed` [#4532](https://togithub.com/emilk/egui/pull/4532) by [@emilk](https://togithub.com/emilk)
- Add `TextEdit::hint_text_font` [#4517](https://togithub.com/emilk/egui/pull/4517) by [@zaaarf](https://togithub.com/zaaarf)
- Add `Options::reduce_texture_memory` to free up RAM [#4431](https://togithub.com/emilk/egui/pull/4431) by [@varphone](https://togithub.com/varphone)
- Add support for text truncation to `egui::Style` [#4556](https://togithub.com/emilk/egui/pull/4556) by [@abey79](https://togithub.com/abey79)
- Add `Response::show_tooltip_ui` and `show_tooltip_text` [#4580](https://togithub.com/emilk/egui/pull/4580) by [@emilk](https://togithub.com/emilk)
- Add `opacity` and `multiply_opacity` functions to `Ui` and `Painter` [#4586](https://togithub.com/emilk/egui/pull/4586) by [@emilk](https://togithub.com/emilk)
- Add `Key::Quote` [#4683](https://togithub.com/emilk/egui/pull/4683) by [@mkeeter](https://togithub.com/mkeeter)
- Improve backtraces when hovering widgets with modifiers pressed [#4696](https://togithub.com/emilk/egui/pull/4696) by [@emilk](https://togithub.com/emilk)
- Add `PopupCloseBehavior` [#4636](https://togithub.com/emilk/egui/pull/4636) by [@Umatriz](https://togithub.com/Umatriz)
- Add basic test for egui accesskit output [#4716](https://togithub.com/emilk/egui/pull/4716) by [@Wcubed](https://togithub.com/Wcubed)
- Add `clamp_to_range` option to DragValue, rename `clamp_range` to `range` (deprecating the former) [#4728](https://togithub.com/emilk/egui/pull/4728) by [@Wumpf](https://togithub.com/Wumpf)
- Add `Style::number_formatter` as the default used by `DragValue` [#4740](https://togithub.com/emilk/egui/pull/4740) by [@emilk](https://togithub.com/emilk)
##### 🔧 Changed
- Improve the UI for changing the egui theme [#4257](https://togithub.com/emilk/egui/pull/4257) by [@emilk](https://togithub.com/emilk)
- Change the resize cursor when you reach the resize limit [#4275](https://togithub.com/emilk/egui/pull/4275) by [@emilk](https://togithub.com/emilk)
- Make `TextEdit` an atomic widget [#4276](https://togithub.com/emilk/egui/pull/4276) by [@emilk](https://togithub.com/emilk)
- Rename `fn scroll2` to `fn scroll` [#4282](https://togithub.com/emilk/egui/pull/4282) by [@emilk](https://togithub.com/emilk)
- Change `Frame::multiply_with_opacity` to multiply in gamma space [#4283](https://togithub.com/emilk/egui/pull/4283) by [@emilk](https://togithub.com/emilk)
- Use parent `Ui`s style for popups [#4325](https://togithub.com/emilk/egui/pull/4325) by [@alexparlett](https://togithub.com/alexparlett)
- Take `rounding` into account when using `Slider::trailing_fill` [#4308](https://togithub.com/emilk/egui/pull/4308) by [@rustbasic](https://togithub.com/rustbasic)
- Allow users to create viewports larger than monitor on Windows & macOS [#4337](https://togithub.com/emilk/egui/pull/4337) by [@lopo12123](https://togithub.com/lopo12123)
- Improve `ViewportBuilder::with_icon()` documentation [#4408](https://togithub.com/emilk/egui/pull/4408) by [@roccoblues](https://togithub.com/roccoblues)
- `include_image!` now accepts expressions [#4521](https://togithub.com/emilk/egui/pull/4521) by [@YgorSouza](https://togithub.com/YgorSouza)
- Remove scroll latency for smooth trackpads [#4526](https://togithub.com/emilk/egui/pull/4526) by [@emilk](https://togithub.com/emilk)
- Smooth out zooming with discreet scroll wheel [#4530](https://togithub.com/emilk/egui/pull/4530) by [@emilk](https://togithub.com/emilk)
- Make `TextEdit::return_key` optional [#4543](https://togithub.com/emilk/egui/pull/4543) by [@doonv](https://togithub.com/doonv)
- Better spacing and sizes for (menu) buttons [#4558](https://togithub.com/emilk/egui/pull/4558) by [@emilk](https://togithub.com/emilk)
- `ComboBox`: fix justified layout of popup if wider than parent button [#4570](https://togithub.com/emilk/egui/pull/4570) by [@emilk](https://togithub.com/emilk)
- Make `Area` state public [#4576](https://togithub.com/emilk/egui/pull/4576) by [@emilk](https://togithub.com/emilk)
- Don't persist `Area` size [#4749](https://togithub.com/emilk/egui/pull/4749) by [@emilk](https://togithub.com/emilk)
- Round text galley sizes to nearest UI point size [#4578](https://togithub.com/emilk/egui/pull/4578) by [@emilk](https://togithub.com/emilk)
- Once you have waited for a tooltip to show, show the next one right away [#4585](https://togithub.com/emilk/egui/pull/4585) by [@emilk](https://togithub.com/emilk)
- Fade in windows, tooltips, popups, etc [#4587](https://togithub.com/emilk/egui/pull/4587) by [@emilk](https://togithub.com/emilk)
- Make `egu::menu` types public [#4544](https://togithub.com/emilk/egui/pull/4544) by [@sor-ca](https://togithub.com/sor-ca)
- The default constrain rect for `Area/Window` is now `ctx.screen_rect` [#4590](https://togithub.com/emilk/egui/pull/4590) by [@emilk](https://togithub.com/emilk)
- Constrain `Area`s to screen by default [#4591](https://togithub.com/emilk/egui/pull/4591) by [@emilk](https://togithub.com/emilk)
- `Grid`: set the `sizing_pass` flag during the initial sizing pass [#4612](https://togithub.com/emilk/egui/pull/4612) by [@emilk](https://togithub.com/emilk)
- Remove special case for 0 in DragValue default formatter [#4639](https://togithub.com/emilk/egui/pull/4639) by [@YgorSouza](https://togithub.com/YgorSouza)
- Abort drags when pressing escape key [#4678](https://togithub.com/emilk/egui/pull/4678) by [@emilk](https://togithub.com/emilk)
- Allow setting a layer as a sublayer of another [#4690](https://togithub.com/emilk/egui/pull/4690) by [@YgorSouza](https://togithub.com/YgorSouza)
- Close context menus with Escape [#4711](https://togithub.com/emilk/egui/pull/4711) by [@emilk](https://togithub.com/emilk)
- Cancel DragValue edit if Escape is pressed [#4713](https://togithub.com/emilk/egui/pull/4713) by [@YgorSouza](https://togithub.com/YgorSouza)
- The default parser for `DragValue` and `Slider` now ignores whitespace [#4739](https://togithub.com/emilk/egui/pull/4739) by [@emilk](https://togithub.com/emilk)
- Disabled widgets are now also disabled in the accesskit output [#4750](https://togithub.com/emilk/egui/pull/4750) by [@Wcubed](https://togithub.com/Wcubed)
- Make it easier to grab the handle of a floating scroll bar [#4754](https://togithub.com/emilk/egui/pull/4754) by [@emilk](https://togithub.com/emilk)
- When debugging widget rects on hover, show width and height [#4762](https://togithub.com/emilk/egui/pull/4762) by [@emilk](https://togithub.com/emilk)
- Make sure all tooltips close if you open a menu in the same layer [#4766](https://togithub.com/emilk/egui/pull/4766) by [@emilk](https://togithub.com/emilk)
##### 🐛 Fixed
- Fix wrong replacement function in deprecation notice of `drag_released*` [#4314](https://togithub.com/emilk/egui/pull/4314) by [@sornas](https://togithub.com/sornas)
- Consider layer transform when positioning text agent [#4319](https://togithub.com/emilk/egui/pull/4319) by [@juancampa](https://togithub.com/juancampa)
- Fix incorrect line breaks [#4377](https://togithub.com/emilk/egui/pull/4377) by [@juancampa](https://togithub.com/juancampa)
- Fix `hex_color!` macro by re-exporting `color_hex` crate from `ecolor` [#4372](https://togithub.com/emilk/egui/pull/4372) by [@dataphract](https://togithub.com/dataphract)
- Change `Ui::allocate_painter` to inherit properties from `Ui` [#4343](https://togithub.com/emilk/egui/pull/4343) by [@varphone](https://togithub.com/varphone)
- Fix `Panel` incorrect size [#4351](https://togithub.com/emilk/egui/pull/4351) by [@zhatuokun](https://togithub.com/zhatuokun)
- Improve IME support with new `Event::Ime` [#4358](https://togithub.com/emilk/egui/pull/4358) by [@rustbasic](https://togithub.com/rustbasic)
- Disable interaction for `ScrollArea` and `Plot` when UI is disabled [#4457](https://togithub.com/emilk/egui/pull/4457) by [@varphone](https://togithub.com/varphone)
- Don't panic when replacement glyph is not found [#4542](https://togithub.com/emilk/egui/pull/4542) by [@RyanBluth](https://togithub.com/RyanBluth)
- Fix `Ui::scroll_with_delta` only scrolling if the `ScrollArea` is focused [#4303](https://togithub.com/emilk/egui/pull/4303) by [@lucasmerlin](https://togithub.com/lucasmerlin)
- Handle tooltips so large that they cover the widget [#4623](https://togithub.com/emilk/egui/pull/4623) by [@emilk](https://togithub.com/emilk)
- ScrollArea: Prevent drag interaction outside the area [#4611](https://togithub.com/emilk/egui/pull/4611) by [@s-nie](https://togithub.com/s-nie)
- Fix buggy interaction with widgets outside of clip rect [#4675](https://togithub.com/emilk/egui/pull/4675) by [@emilk](https://togithub.com/emilk)
- Make sure contents of a panel don't overflow [#4676](https://togithub.com/emilk/egui/pull/4676) by [@emilk](https://togithub.com/emilk)
- Fix: `Response::hover_pos` returns incorrect positions with layer transforms [#4679](https://togithub.com/emilk/egui/pull/4679) by [@Creative0708](https://togithub.com/Creative0708)
- Fix: Menu popups and tooltips don't respect layer transforms [#4708](https://togithub.com/emilk/egui/pull/4708) by [@Creative0708](https://togithub.com/Creative0708)
- Bug fix: report latest area size in `Area::show` response [#4710](https://togithub.com/emilk/egui/pull/4710) by [@emilk](https://togithub.com/emilk)
- Ensure `Window` scroll bars are at the window edges [#4733](https://togithub.com/emilk/egui/pull/4733) by [@emilk](https://togithub.com/emilk)
- Prevent `TextEdit` widgets from sending fake primary clicks [#4751](https://togithub.com/emilk/egui/pull/4751) by [@Aliremu](https://togithub.com/Aliremu)
- Fix text selection when there's multiple viewports [#4760](https://togithub.com/emilk/egui/pull/4760) by [@emilk](https://togithub.com/emilk)
- Use correct cursor icons when resizing panels too wide or narrow [#4769](https://togithub.com/emilk/egui/pull/4769) by [@emilk](https://togithub.com/emilk)
### [`v0.27.2`](https://togithub.com/emilk/egui/blob/HEAD/CHANGELOG.md#0272---2024-04-02)
[Compare Source](https://togithub.com/emilk/egui/compare/0.27.1...0.27.2)
##### 🐛 Fixed
- Fix tooltips for non-interactive widgets [#4291](https://togithub.com/emilk/egui/pull/4291)
- Fix problem clicking the edge of a `TextEdit` [#4272](https://togithub.com/emilk/egui/pull/4272)
- Fix: `Response::clicked_elsewhere` takes clip rect into account [#4274](https://togithub.com/emilk/egui/pull/4274)
- Fix incorrect `Response::interact_rect` for `Area/Window` [#4273](https://togithub.com/emilk/egui/pull/4273)
##### ⭐ Added
- Allow disabling animations on a `ScrollArea` [#4309](https://togithub.com/emilk/egui/pull/4309) (thanks [@lucasmerlin](https://togithub.com/lucasmerlin)!)
### [`v0.27.1`](https://togithub.com/emilk/egui/blob/HEAD/CHANGELOG.md#0271---2024-03-29)
[Compare Source](https://togithub.com/emilk/egui/compare/0.27.0...0.27.1)
##### 🐛 Fixed
- Fix visual glitch on the right side of highly rounded rectangles [#4244](https://togithub.com/emilk/egui/pull/4244)
- Prevent visual glitch when shadow blur width is very high [#4245](https://togithub.com/emilk/egui/pull/4245)
- Fix `InputState::any_touches` and add `InputState::has_touch_screen` [#4247](https://togithub.com/emilk/egui/pull/4247)
- Fix `Context::repaint_causes` returning no causes [#4248](https://togithub.com/emilk/egui/pull/4248)
- Fix touch-and-hold to open context menu [#4249](https://togithub.com/emilk/egui/pull/4249)
- Hide shortcut text on zoom buttons if `zoom_with_keyboard` is false [#4262](https://togithub.com/emilk/egui/pull/4262)
##### 🔧 Changed
- Don't apply a clip rect to the contents of an `Area` or `Window` [#4258](https://togithub.com/emilk/egui/pull/4258)
Configuration
📅 Schedule: Branch creation - "every weekend" (UTC), 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 these updates again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
0.27.0
->0.28.0
0.27.0
->0.28.0
Release Notes
emilk/egui (eframe)
### [`v0.28.1`](https://togithub.com/emilk/egui/blob/HEAD/crates/eframe/CHANGELOG.md#0281---2024-07-05) [Compare Source](https://togithub.com/emilk/egui/compare/0.28.0...0.28.1) - Web: only capture clicks/touches when actually over canvas [#4775](https://togithub.com/emilk/egui/pull/4775) by [@lucasmerlin](https://togithub.com/lucasmerlin) ### [`v0.28.0`](https://togithub.com/emilk/egui/blob/HEAD/crates/eframe/CHANGELOG.md#0280---2024-07-03---Better-integration-of-a-eframe-in-a-bigger-website) [Compare Source](https://togithub.com/emilk/egui/compare/0.27.2...0.28.0) ##### ✨ 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 `` 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](https://togithub.com/emilk/egui/pull/4536) by [@jprochazk](https://togithub.com/jprochazk)). ##### ⭐ Added - Add `register_native_texture` in `eframe::Frame` [#4246](https://togithub.com/emilk/egui/pull/4246) by [@Chaojimengnan](https://togithub.com/Chaojimengnan) - Add `NativeOptions::persistence_path` [#4423](https://togithub.com/emilk/egui/pull/4423) by [@lucasmerlin](https://togithub.com/lucasmerlin) - Make sure to call `raw_input_hook` on web [#4646](https://togithub.com/emilk/egui/pull/4646) by [@owen-d](https://togithub.com/owen-d) ##### 🔧 Changed - Early-out from context switching the `glow` backend [#4284](https://togithub.com/emilk/egui/pull/4284), [#4296](https://togithub.com/emilk/egui/pull/4296) by [@emilk](https://togithub.com/emilk) - Allow users to create viewports larger than monitor on Windows & macOS [#4337](https://togithub.com/emilk/egui/pull/4337) by [@lopo12123](https://togithub.com/lopo12123) - Use `objc2` and its framework crates [#4395](https://togithub.com/emilk/egui/pull/4395) by [@madsmtm](https://togithub.com/madsmtm) - Emit physical key presses when a non-Latin layout is active [#4461](https://togithub.com/emilk/egui/pull/4461) by [@TicClick](https://togithub.com/TicClick) - Clamp window size to monitor size by default on all platforms [#4410](https://togithub.com/emilk/egui/pull/4410) by [@rustbasic](https://togithub.com/rustbasic) - Ignore synthetic key presses [#4514](https://togithub.com/emilk/egui/pull/4514) by [@hut](https://togithub.com/hut) - Use `ResizeObserver` instead of `resize` event [#4536](https://togithub.com/emilk/egui/pull/4536) by [@jprochazk](https://togithub.com/jprochazk) - Make pinch-to-zoom more responsive on web [#4621](https://togithub.com/emilk/egui/pull/4621) by [@emilk](https://togithub.com/emilk) - Move first `request_animation_frame` into resize observer [#4628](https://togithub.com/emilk/egui/pull/4628) by [@jprochazk](https://togithub.com/jprochazk) - Replace `directories-next` dependency with `directories` [#4661](https://togithub.com/emilk/egui/pull/4661) by [@crumblingstatue](https://togithub.com/crumblingstatue) - `eframe::Result` is now short for `eframe::Result<()>` [#4706](https://togithub.com/emilk/egui/pull/4706) by [@emilk](https://togithub.com/emilk) - Ignore keyboard events unless canvas has focus [#4718](https://togithub.com/emilk/egui/pull/4718) by [@emilk](https://togithub.com/emilk) ##### 🐛 Fixed - Fix `ViewportCommand::InnerSize` not resizing viewport on Wayland ([#4211](https://togithub.com/emilk/egui/issues/4211)) [#4211](https://togithub.com/emilk/egui/pull/4211) by [@rustbasic](https://togithub.com/rustbasic) - Improve IME support with new `Event::Ime` [#4358](https://togithub.com/emilk/egui/pull/4358) by [@rustbasic](https://togithub.com/rustbasic) - IME for chinese [#4436](https://togithub.com/emilk/egui/pull/4436) by [@rustbasic](https://togithub.com/rustbasic) - Fix: Window position creeps between executions on scaled monitors [#4443](https://togithub.com/emilk/egui/pull/4443) by [@avery-radmacher](https://togithub.com/avery-radmacher) - Fix: still track mouse when dragging outside web canvas [#4522](https://togithub.com/emilk/egui/pull/4522) by [@emilk](https://togithub.com/emilk) - Fix: Don't `.forget()` RAF closure [#4551](https://togithub.com/emilk/egui/pull/4551) by [@jprochazk](https://togithub.com/jprochazk) - Improve web text agent [#4561](https://togithub.com/emilk/egui/pull/4561) by [@jprochazk](https://togithub.com/jprochazk) - Fix broken mouse coordinates when there's padding on the canvas element [#4729](https://togithub.com/emilk/egui/pull/4729) by [@emilk](https://togithub.com/emilk) - Only repaint on cursor movements of area, or if dragging outside [#4730](https://togithub.com/emilk/egui/pull/4730) by [@emilk](https://togithub.com/emilk) - Fix drag-and-drop file preview/hover [#4732](https://togithub.com/emilk/egui/pull/4732) by [@emilk](https://togithub.com/emilk) - Fix stuck keys after pressing ctrl+C, cmd+A, etc [#4731](https://togithub.com/emilk/egui/pull/4731) by [@emilk](https://togithub.com/emilk) ##### 🧳 Migration - Update MSRV to 1.76 [#4411](https://togithub.com/emilk/egui/pull/4411) by [@emilk](https://togithub.com/emilk) ##### Wrap app creator in a `Result` Applications can now return an error during the app creation ([#4565](https://togithub.com/emilk/egui/pull/4565) by [@emilk](https://togithub.com/emilk)), so you now need to wrap your `Boxemilk/egui (egui)
### [`v0.28.1`](https://togithub.com/emilk/egui/blob/HEAD/CHANGELOG.md#0281---2024-07-05---Tooltip-tweaks) [Compare Source](https://togithub.com/emilk/egui/compare/0.28.0...0.28.1) ##### ⭐ Added - Add `Image::uri()` [#4720](https://togithub.com/emilk/egui/pull/4720) by [@rustbasic](https://togithub.com/rustbasic) ##### 🔧 Changed - Better documentation for `Event::Zoom` [#4778](https://togithub.com/emilk/egui/pull/4778) by [@emilk](https://togithub.com/emilk) - Hide tooltips when scrolling [#4784](https://togithub.com/emilk/egui/pull/4784) by [@emilk](https://togithub.com/emilk) - Smoother animations [#4787](https://togithub.com/emilk/egui/pull/4787) by [@emilk](https://togithub.com/emilk) - Hide tooltip on click [#4789](https://togithub.com/emilk/egui/pull/4789) by [@emilk](https://togithub.com/emilk) ##### 🐛 Fixed - Fix default height of top/bottom panels [#4779](https://togithub.com/emilk/egui/pull/4779) by [@emilk](https://togithub.com/emilk) - Show the innermost debug rectangle when pressing all modifier keys [#4782](https://togithub.com/emilk/egui/pull/4782) by [@emilk](https://togithub.com/emilk) - Fix occasional flickering of pointer-tooltips [#4788](https://togithub.com/emilk/egui/pull/4788) by [@emilk](https://togithub.com/emilk) ### [`v0.28.0`](https://togithub.com/emilk/egui/blob/HEAD/CHANGELOG.md#0280---2024-07-03---Sizing-pass-UiStack-and-GIF-support) [Compare Source](https://togithub.com/emilk/egui/compare/0.27.2...0.28.0) ##### ✨ Highlights - Automatic sizing of menus/popups/tooltips with no jittering, using new *sizing pass* [#4557](https://togithub.com/emilk/egui/pull/4557), [#4579](https://togithub.com/emilk/egui/pull/4579) by [@emilk](https://togithub.com/emilk) - Support interactive widgets in tooltips [#4596](https://togithub.com/emilk/egui/pull/4596) by [@emilk](https://togithub.com/emilk) - Add a `ui.stack()` with info about all ancestor `Ui`s, with optional tags [#4588](https://togithub.com/emilk/egui/pull/4588) by [@abey79](https://togithub.com/abey79), [#4617](https://togithub.com/emilk/egui/pull/4617) by [@emilk](https://togithub.com/emilk) - GIF support [#4620](https://togithub.com/emilk/egui/pull/4620) by [@JustFrederik](https://togithub.com/JustFrederik) - Blinking text cursor in `TextEdit` [#4279](https://togithub.com/emilk/egui/pull/4279) by [@emilk](https://togithub.com/emilk) ##### 🧳 Migration - Update MSRV to 1.76 ([#4411](https://togithub.com/emilk/egui/pull/4411)) - The `wrap/truncate` functions on `Label/Button/ComboBox` no longer take bools as arguments. Use `.wrap_mode(…)` instead for more fine control ([#4556](https://togithub.com/emilk/egui/pull/4556)) - `Style::wrap` has been deprecated in favor of `Style::wrap_mode` ([#4556](https://togithub.com/emilk/egui/pull/4556)) - `Ui::new` and `ui.child_ui` now takes a new parameter for the `UiStack` ([#4588](https://togithub.com/emilk/egui/pull/4588)) - The `extra_asserts` and `extra_debug_asserts` feature flags have been removed ([#4478](https://togithub.com/emilk/egui/pull/4478)) - Remove `Event::Scroll` and handle it in egui. Use `Event::MouseWheel` instead ([#4524](https://togithub.com/emilk/egui/pull/4524)) - `Event::Zoom` is no longer emitted on ctrl+scroll. Use `InputState::smooth_scroll_delta` instead ([#4524](https://togithub.com/emilk/egui/pull/4524)) - `ui.set_enabled` and `set_visbile` have been deprecated ([#4614](https://togithub.com/emilk/egui/pull/4614)) - `DragValue::clamp_range` renamed to `range` (([#4728](https://togithub.com/emilk/egui/pull/4728)) ##### ⭐ Added - Overload operators for `Rect + Margin`, `Rect - Margin` etc [#4277](https://togithub.com/emilk/egui/pull/4277) by [@emilk](https://togithub.com/emilk) - Add `Window::order` [#4301](https://togithub.com/emilk/egui/pull/4301) by [@alexparlett](https://togithub.com/alexparlett) - Add a way to specify Undoer settings and construct Undoers more easily [#4357](https://togithub.com/emilk/egui/pull/4357) by [@valadaptive](https://togithub.com/valadaptive) - Add xtask crate [#4293](https://togithub.com/emilk/egui/pull/4293) by [@YgorSouza](https://togithub.com/YgorSouza) - Add `ViewportCommand::RequestCut`, `RequestCopy` and `RequestPaste` to trigger clipboard actions [#4035](https://togithub.com/emilk/egui/pull/4035) by [@bu5hm4nn](https://togithub.com/bu5hm4nn) - Added ability to define colors at UV coordinates along a path [#4353](https://togithub.com/emilk/egui/pull/4353) by [@murl-digital](https://togithub.com/murl-digital) - Add a `Display` impl for `Vec2`, `Pos2`, and `Rect` [#4428](https://togithub.com/emilk/egui/pull/4428) by [@tgross35](https://togithub.com/tgross35) - Easing functions [#4630](https://togithub.com/emilk/egui/pull/4630) by [@emilk](https://togithub.com/emilk) - Add `Options::line_scroll_speed` and `scroll_zoom_speed` [#4532](https://togithub.com/emilk/egui/pull/4532) by [@emilk](https://togithub.com/emilk) - Add `TextEdit::hint_text_font` [#4517](https://togithub.com/emilk/egui/pull/4517) by [@zaaarf](https://togithub.com/zaaarf) - Add `Options::reduce_texture_memory` to free up RAM [#4431](https://togithub.com/emilk/egui/pull/4431) by [@varphone](https://togithub.com/varphone) - Add support for text truncation to `egui::Style` [#4556](https://togithub.com/emilk/egui/pull/4556) by [@abey79](https://togithub.com/abey79) - Add `Response::show_tooltip_ui` and `show_tooltip_text` [#4580](https://togithub.com/emilk/egui/pull/4580) by [@emilk](https://togithub.com/emilk) - Add `opacity` and `multiply_opacity` functions to `Ui` and `Painter` [#4586](https://togithub.com/emilk/egui/pull/4586) by [@emilk](https://togithub.com/emilk) - Add `Key::Quote` [#4683](https://togithub.com/emilk/egui/pull/4683) by [@mkeeter](https://togithub.com/mkeeter) - Improve backtraces when hovering widgets with modifiers pressed [#4696](https://togithub.com/emilk/egui/pull/4696) by [@emilk](https://togithub.com/emilk) - Add `PopupCloseBehavior` [#4636](https://togithub.com/emilk/egui/pull/4636) by [@Umatriz](https://togithub.com/Umatriz) - Add basic test for egui accesskit output [#4716](https://togithub.com/emilk/egui/pull/4716) by [@Wcubed](https://togithub.com/Wcubed) - Add `clamp_to_range` option to DragValue, rename `clamp_range` to `range` (deprecating the former) [#4728](https://togithub.com/emilk/egui/pull/4728) by [@Wumpf](https://togithub.com/Wumpf) - Add `Style::number_formatter` as the default used by `DragValue` [#4740](https://togithub.com/emilk/egui/pull/4740) by [@emilk](https://togithub.com/emilk) ##### 🔧 Changed - Improve the UI for changing the egui theme [#4257](https://togithub.com/emilk/egui/pull/4257) by [@emilk](https://togithub.com/emilk) - Change the resize cursor when you reach the resize limit [#4275](https://togithub.com/emilk/egui/pull/4275) by [@emilk](https://togithub.com/emilk) - Make `TextEdit` an atomic widget [#4276](https://togithub.com/emilk/egui/pull/4276) by [@emilk](https://togithub.com/emilk) - Rename `fn scroll2` to `fn scroll` [#4282](https://togithub.com/emilk/egui/pull/4282) by [@emilk](https://togithub.com/emilk) - Change `Frame::multiply_with_opacity` to multiply in gamma space [#4283](https://togithub.com/emilk/egui/pull/4283) by [@emilk](https://togithub.com/emilk) - Use parent `Ui`s style for popups [#4325](https://togithub.com/emilk/egui/pull/4325) by [@alexparlett](https://togithub.com/alexparlett) - Take `rounding` into account when using `Slider::trailing_fill` [#4308](https://togithub.com/emilk/egui/pull/4308) by [@rustbasic](https://togithub.com/rustbasic) - Allow users to create viewports larger than monitor on Windows & macOS [#4337](https://togithub.com/emilk/egui/pull/4337) by [@lopo12123](https://togithub.com/lopo12123) - Improve `ViewportBuilder::with_icon()` documentation [#4408](https://togithub.com/emilk/egui/pull/4408) by [@roccoblues](https://togithub.com/roccoblues) - `include_image!` now accepts expressions [#4521](https://togithub.com/emilk/egui/pull/4521) by [@YgorSouza](https://togithub.com/YgorSouza) - Remove scroll latency for smooth trackpads [#4526](https://togithub.com/emilk/egui/pull/4526) by [@emilk](https://togithub.com/emilk) - Smooth out zooming with discreet scroll wheel [#4530](https://togithub.com/emilk/egui/pull/4530) by [@emilk](https://togithub.com/emilk) - Make `TextEdit::return_key` optional [#4543](https://togithub.com/emilk/egui/pull/4543) by [@doonv](https://togithub.com/doonv) - Better spacing and sizes for (menu) buttons [#4558](https://togithub.com/emilk/egui/pull/4558) by [@emilk](https://togithub.com/emilk) - `ComboBox`: fix justified layout of popup if wider than parent button [#4570](https://togithub.com/emilk/egui/pull/4570) by [@emilk](https://togithub.com/emilk) - Make `Area` state public [#4576](https://togithub.com/emilk/egui/pull/4576) by [@emilk](https://togithub.com/emilk) - Don't persist `Area` size [#4749](https://togithub.com/emilk/egui/pull/4749) by [@emilk](https://togithub.com/emilk) - Round text galley sizes to nearest UI point size [#4578](https://togithub.com/emilk/egui/pull/4578) by [@emilk](https://togithub.com/emilk) - Once you have waited for a tooltip to show, show the next one right away [#4585](https://togithub.com/emilk/egui/pull/4585) by [@emilk](https://togithub.com/emilk) - Fade in windows, tooltips, popups, etc [#4587](https://togithub.com/emilk/egui/pull/4587) by [@emilk](https://togithub.com/emilk) - Make `egu::menu` types public [#4544](https://togithub.com/emilk/egui/pull/4544) by [@sor-ca](https://togithub.com/sor-ca) - The default constrain rect for `Area/Window` is now `ctx.screen_rect` [#4590](https://togithub.com/emilk/egui/pull/4590) by [@emilk](https://togithub.com/emilk) - Constrain `Area`s to screen by default [#4591](https://togithub.com/emilk/egui/pull/4591) by [@emilk](https://togithub.com/emilk) - `Grid`: set the `sizing_pass` flag during the initial sizing pass [#4612](https://togithub.com/emilk/egui/pull/4612) by [@emilk](https://togithub.com/emilk) - Remove special case for 0 in DragValue default formatter [#4639](https://togithub.com/emilk/egui/pull/4639) by [@YgorSouza](https://togithub.com/YgorSouza) - Abort drags when pressing escape key [#4678](https://togithub.com/emilk/egui/pull/4678) by [@emilk](https://togithub.com/emilk) - Allow setting a layer as a sublayer of another [#4690](https://togithub.com/emilk/egui/pull/4690) by [@YgorSouza](https://togithub.com/YgorSouza) - Close context menus with Escape [#4711](https://togithub.com/emilk/egui/pull/4711) by [@emilk](https://togithub.com/emilk) - Cancel DragValue edit if Escape is pressed [#4713](https://togithub.com/emilk/egui/pull/4713) by [@YgorSouza](https://togithub.com/YgorSouza) - The default parser for `DragValue` and `Slider` now ignores whitespace [#4739](https://togithub.com/emilk/egui/pull/4739) by [@emilk](https://togithub.com/emilk) - Disabled widgets are now also disabled in the accesskit output [#4750](https://togithub.com/emilk/egui/pull/4750) by [@Wcubed](https://togithub.com/Wcubed) - Make it easier to grab the handle of a floating scroll bar [#4754](https://togithub.com/emilk/egui/pull/4754) by [@emilk](https://togithub.com/emilk) - When debugging widget rects on hover, show width and height [#4762](https://togithub.com/emilk/egui/pull/4762) by [@emilk](https://togithub.com/emilk) - Make sure all tooltips close if you open a menu in the same layer [#4766](https://togithub.com/emilk/egui/pull/4766) by [@emilk](https://togithub.com/emilk) ##### 🐛 Fixed - Fix wrong replacement function in deprecation notice of `drag_released*` [#4314](https://togithub.com/emilk/egui/pull/4314) by [@sornas](https://togithub.com/sornas) - Consider layer transform when positioning text agent [#4319](https://togithub.com/emilk/egui/pull/4319) by [@juancampa](https://togithub.com/juancampa) - Fix incorrect line breaks [#4377](https://togithub.com/emilk/egui/pull/4377) by [@juancampa](https://togithub.com/juancampa) - Fix `hex_color!` macro by re-exporting `color_hex` crate from `ecolor` [#4372](https://togithub.com/emilk/egui/pull/4372) by [@dataphract](https://togithub.com/dataphract) - Change `Ui::allocate_painter` to inherit properties from `Ui` [#4343](https://togithub.com/emilk/egui/pull/4343) by [@varphone](https://togithub.com/varphone) - Fix `Panel` incorrect size [#4351](https://togithub.com/emilk/egui/pull/4351) by [@zhatuokun](https://togithub.com/zhatuokun) - Improve IME support with new `Event::Ime` [#4358](https://togithub.com/emilk/egui/pull/4358) by [@rustbasic](https://togithub.com/rustbasic) - Disable interaction for `ScrollArea` and `Plot` when UI is disabled [#4457](https://togithub.com/emilk/egui/pull/4457) by [@varphone](https://togithub.com/varphone) - Don't panic when replacement glyph is not found [#4542](https://togithub.com/emilk/egui/pull/4542) by [@RyanBluth](https://togithub.com/RyanBluth) - Fix `Ui::scroll_with_delta` only scrolling if the `ScrollArea` is focused [#4303](https://togithub.com/emilk/egui/pull/4303) by [@lucasmerlin](https://togithub.com/lucasmerlin) - Handle tooltips so large that they cover the widget [#4623](https://togithub.com/emilk/egui/pull/4623) by [@emilk](https://togithub.com/emilk) - ScrollArea: Prevent drag interaction outside the area [#4611](https://togithub.com/emilk/egui/pull/4611) by [@s-nie](https://togithub.com/s-nie) - Fix buggy interaction with widgets outside of clip rect [#4675](https://togithub.com/emilk/egui/pull/4675) by [@emilk](https://togithub.com/emilk) - Make sure contents of a panel don't overflow [#4676](https://togithub.com/emilk/egui/pull/4676) by [@emilk](https://togithub.com/emilk) - Fix: `Response::hover_pos` returns incorrect positions with layer transforms [#4679](https://togithub.com/emilk/egui/pull/4679) by [@Creative0708](https://togithub.com/Creative0708) - Fix: Menu popups and tooltips don't respect layer transforms [#4708](https://togithub.com/emilk/egui/pull/4708) by [@Creative0708](https://togithub.com/Creative0708) - Bug fix: report latest area size in `Area::show` response [#4710](https://togithub.com/emilk/egui/pull/4710) by [@emilk](https://togithub.com/emilk) - Ensure `Window` scroll bars are at the window edges [#4733](https://togithub.com/emilk/egui/pull/4733) by [@emilk](https://togithub.com/emilk) - Prevent `TextEdit` widgets from sending fake primary clicks [#4751](https://togithub.com/emilk/egui/pull/4751) by [@Aliremu](https://togithub.com/Aliremu) - Fix text selection when there's multiple viewports [#4760](https://togithub.com/emilk/egui/pull/4760) by [@emilk](https://togithub.com/emilk) - Use correct cursor icons when resizing panels too wide or narrow [#4769](https://togithub.com/emilk/egui/pull/4769) by [@emilk](https://togithub.com/emilk) ### [`v0.27.2`](https://togithub.com/emilk/egui/blob/HEAD/CHANGELOG.md#0272---2024-04-02) [Compare Source](https://togithub.com/emilk/egui/compare/0.27.1...0.27.2) ##### 🐛 Fixed - Fix tooltips for non-interactive widgets [#4291](https://togithub.com/emilk/egui/pull/4291) - Fix problem clicking the edge of a `TextEdit` [#4272](https://togithub.com/emilk/egui/pull/4272) - Fix: `Response::clicked_elsewhere` takes clip rect into account [#4274](https://togithub.com/emilk/egui/pull/4274) - Fix incorrect `Response::interact_rect` for `Area/Window` [#4273](https://togithub.com/emilk/egui/pull/4273) ##### ⭐ Added - Allow disabling animations on a `ScrollArea` [#4309](https://togithub.com/emilk/egui/pull/4309) (thanks [@lucasmerlin](https://togithub.com/lucasmerlin)!) ### [`v0.27.1`](https://togithub.com/emilk/egui/blob/HEAD/CHANGELOG.md#0271---2024-03-29) [Compare Source](https://togithub.com/emilk/egui/compare/0.27.0...0.27.1) ##### 🐛 Fixed - Fix visual glitch on the right side of highly rounded rectangles [#4244](https://togithub.com/emilk/egui/pull/4244) - Prevent visual glitch when shadow blur width is very high [#4245](https://togithub.com/emilk/egui/pull/4245) - Fix `InputState::any_touches` and add `InputState::has_touch_screen` [#4247](https://togithub.com/emilk/egui/pull/4247) - Fix `Context::repaint_causes` returning no causes [#4248](https://togithub.com/emilk/egui/pull/4248) - Fix touch-and-hold to open context menu [#4249](https://togithub.com/emilk/egui/pull/4249) - Hide shortcut text on zoom buttons if `zoom_with_keyboard` is false [#4262](https://togithub.com/emilk/egui/pull/4262) ##### 🔧 Changed - Don't apply a clip rect to the contents of an `Area` or `Window` [#4258](https://togithub.com/emilk/egui/pull/4258)Configuration
📅 Schedule: Branch creation - "every weekend" (UTC), 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 these updates again.
This PR has been generated by Mend Renovate. View repository job log here.