Skip to content

Commit f1a80a8

Browse files
committed
update CHANGELOG.md
1 parent 73ed93e commit f1a80a8

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ You can find its changes [documented below](#070---2021-01-01).
7474
- Added `compute_max_intrinsic` method to the `Widget` trait, which determines the maximum useful dimension of the widget ([#2172] by [@sjoshid])
7575
- Windows: Dark mode support for the title bar ([#2196] by [@dristic])
7676
- `ZStack` widget ([#2235] by [@xarvic])
77+
- `Lifecycle::ViewStateChanged`, `InternalLifecycle::RouteViewStateChanged`, `ChangeCtx`, and `RequestCtx` ([2149] by [@xarvic])
7778

7879
### Changed
7980

@@ -105,6 +106,7 @@ You can find its changes [documented below](#070---2021-01-01).
105106
- `RadioGroup` widgets are now constructed with new `row()`, `column()`, and `for_axis()` methods ([#2157] by [@twitchyliquid64])
106107
- Replace `info_span!` with `trace_span!` ([#2203] by [@NickLarsenNZ])
107108
- `WidgetPod::event` propagates handled mouse events to active children ([#2235] by [@xarvic])
109+
- changing hot state is now done in `Lifecycle::ChangeViewState` instead of `layout` ([#2149] by [@xarvic])
108110

109111
### Deprecated
110112

@@ -853,6 +855,7 @@ Last release without a changelog :(
853855
[#2117]: https://github.com/linebender/druid/pull/2141
854856
[#2145]: https://github.com/linebender/druid/pull/2145
855857
[#2148]: https://github.com/linebender/druid/pull/2148
858+
[#2149]: https://github.com/linebender/druid/pull/2149
856859
[#2151]: https://github.com/linebender/druid/pull/2151
857860
[#2157]: https://github.com/linebender/druid/pull/2157
858861
[#2158]: https://github.com/linebender/druid/pull/2158

druid/src/core.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -271,8 +271,6 @@ impl<T, W: Widget<T>> WidgetPod<T, W> {
271271
/// [`Rect`]: struct.Rect.html
272272
/// [`Size`]: struct.Size.html
273273
/// [`LifeCycle::Size`]: enum.LifeCycle.html#variant.Size
274-
//TODO: we are using CommandCtx because it allows every context but paint, but it might be a
275-
// confusing name.
276274
pub fn set_origin<'a>(
277275
&mut self,
278276
ctx: &mut impl ChangeCtx<'a>,

0 commit comments

Comments
 (0)