1
0
mirror of https://github.com/emilk/egui.git synced 2026-09-03 15:20:05 -04:00

SidePanel::left and TopPanel::top now takes impl Hash instead of Id

This commit is contained in:
Emil Ernerfeldt
2020-12-15 15:13:12 +01:00
parent 18ebac116f
commit 0e0beece44
3 changed files with 16 additions and 10 deletions

View File

@@ -11,12 +11,13 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
### Added ⭐
* `ImageButton` - `ui.add(ImageButton::new(...))`
* `ui.vertical_centered` and `ui.vertical_centered_justified`
* `ImageButton` - `ui.add(ImageButton::new(...))`.
* `ui.vertical_centered` and `ui.vertical_centered_justified`.
### Changed 🔧
* `ui.image` now takes `impl Into<Vec2>` as a `size` argument
* `SidePanel::left` and `TopPanel::top` now takes `impl Hash` as first argument.
* `ui.image` now takes `impl Into<Vec2>` as a `size` argument.
## 0.5.0 - 2020-12-13