mirror of
https://github.com/emilk/egui.git
synced 2026-09-01 22:30:03 -04:00
Deprecated RawInput::screen_size and replaced with screen_rect
This commit is contained in:
@@ -14,6 +14,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
||||
* `ImageButton` - `ui.add(ImageButton::new(...))`.
|
||||
* `ui.vertical_centered` and `ui.vertical_centered_justified`.
|
||||
* Mouse-over explanation to duplicate ID warning
|
||||
* You can now easily constrain Egui to a portion of the screen using `RawInput::screen_rect`.
|
||||
|
||||
### Changed 🔧
|
||||
|
||||
@@ -21,6 +22,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
||||
* `ui.image` now takes `impl Into<Vec2>` as a `size` argument.
|
||||
* Made some more fields of `RawInput` optional.
|
||||
|
||||
### Deprecated
|
||||
* Deprecated `RawInput::screen_size` - use `RawInput::screen_rect` instead.
|
||||
|
||||
|
||||
## 0.5.0 - 2020-12-13
|
||||
|
||||
|
||||
Reference in New Issue
Block a user