Expose the TextEdit multiline flag to AccessKit (#2448)

* Expose the TextEdit multiline flag to AccessKit

* Add changelog entry
This commit is contained in:
Matt Campbell 2022-12-14 01:37:51 -06:00 committed by GitHub
parent 126be51ac3
commit a925511032
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View file

@ -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 🔧

View file

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