Browse Source

Expose the TextEdit multiline flag to AccessKit (#2448)

* Expose the TextEdit multiline flag to AccessKit

* Add changelog entry
pull/2451/head
Matt Campbell 2 years ago
committed by GitHub
parent
commit
a925511032
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      CHANGELOG.md
  2. 1
      crates/egui/src/widgets/text_edit/builder.rs

3
CHANGELOG.md

@ -8,6 +8,9 @@ NOTE: [`epaint`](crates/epaint/CHANGELOG.md), [`eframe`](crates/eframe/CHANGELOG
### Added ⭐
* `Event::Key` now has a `repeat` field that is set to `true` if the event was the result of a key-repeat ([#2435](https://github.com/emilk/egui/pull/2435)).
### Fixed 🐛
* Expose `TextEdit`'s multiline flag to AccessKit ([#2448](https://github.com/emilk/egui/pull/2448)).
## 0.20.1 - 2022-12-11 - Fix key-repeat
### Changed 🔧

1
crates/egui/src/widgets/text_edit/builder.rs

@ -680,6 +680,7 @@ impl<'t> TextEdit<'t> {
}
node.default_action_verb = Some(accesskit::DefaultActionVerb::Focus);
node.multiline = self.multiline;
drop(node);

Loading…
Cancel
Save