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

ui.allocate_space now returns an (Id, Rect) tuple

This commit is contained in:
Emil Ernerfeldt
2020-12-26 01:38:26 +01:00
parent cd7abb457f
commit b65e6327ab
20 changed files with 132 additions and 137 deletions

View File

@@ -22,6 +22,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
### Changed 🔧
* `ui.allocate_space` now returns an `(Id, Rect)` tuple.
* `Arc<Context>` has been replaced with `CtxRef` everywhere.
* Slight tweak of the default `Style` and font sizes.
* `SidePanel::left` and `TopPanel::top` now takes `impl Hash` as first argument.