You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A long standing pet-peeve of mine: Previously there were a
number of different lifetypes associated with the text factory
depending on where it came from.
This standardizes that, so that all contexts' text() method returns
an owned PietText handle.
This has the added advantage of getting rid of the weird lifetime
in LayoutContext, which will also unblock my macro work.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -73,6 +73,8 @@ This means that druid no longer requires cairo on macOS and uses Core Graphics i
73
73
- Replaced `Command::one_shot` and `::take_object` with a `SingleUse` payload wrapper type. ([#959] by [@finnerale])
74
74
- Renamed `WidgetPod` methods: `paint` to `paint_raw`, `paint_with_offset` to `paint`, `paint_with_offset_always` to `paint_always`. ([#980] by [@totsteps])
75
75
-`Command` and `Selector` have been reworked and are now statically typed, similarly to `Env` and `Key`. ([#993] by [@finnerale])
76
+
- Standardize the type returned by the contexts' `text()` methods. ([#996] by
77
+
[@cmyr])
76
78
77
79
### Deprecated
78
80
@@ -244,6 +246,7 @@ This means that druid no longer requires cairo on macOS and uses Core Graphics i
0 commit comments