Skip to content

Commit

Permalink
Remove Default impl for FlexParams (#1885)
Browse files Browse the repository at this point in the history
Fixes #1708
  • Loading branch information
maan2003 authored Jul 28, 2021
1 parent ac44a3a commit 2ae0bf7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ You can find its changes [documented below](#070---2021-01-01).

### Removed

- Remove Default impl for `FlexParams` ([#1885] by [@Maan2003])

### Fixed

- `Notification`s will not be delivered to the widget that sends them ([#1640] by [@cmyr])
Expand Down Expand Up @@ -768,6 +770,7 @@ Last release without a changelog :(
[#1873]: https://github.com/linebender/druid/pull/1873
[#1876]: https://github.com/linebender/druid/pull/1876
[#1882]: https://github.com/linebender/druid/pull/1882
[#1885]: https://github.com/linebender/druid/pull/1885

[Unreleased]: https://github.com/linebender/druid/compare/v0.7.0...master
[0.7.0]: https://github.com/linebender/druid/compare/v0.6.0...v0.7.0
Expand Down
2 changes: 1 addition & 1 deletion druid/src/widget/flex.rs
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ pub struct Flex<T> {
/// [`Flex`]: struct.Flex.html
/// [`with_flex_child`]: struct.Flex.html#method.with_flex_child
/// [`add_flex_child`]: struct.Flex.html#method.add_flex_child
#[derive(Copy, Clone, Default)]
#[derive(Copy, Clone)]
pub struct FlexParams {
flex: f64,
alignment: Option<CrossAxisAlignment>,
Expand Down

0 comments on commit 2ae0bf7

Please sign in to comment.