layout: Remove width and is_full_width from InsertHint
Browse files at this commitfdbc485d78acea2fe701b38edf9016f541cd1ddeParent: 7e253d22 changed files +0 -4
- src/layout/mod.rs +0 -2
- src/layout/scrolling.rs +0 -2
src/layout/mod.rsmodified+0 -2
| @@ -2792,8 +2792,6 @@ impl<W: LayoutElement> Layout<W> { | |||
| 2792 | 2792 | ||
| 2793 | ws.set_insert_hint(InsertHint { | 2793 | ws.set_insert_hint(InsertHint { |
| 2794 | position, | 2794 | position, |
| 2795 | - width: move_.width, | ||
| 2796 | - is_full_width: move_.is_full_width, | ||
| 2797 | corner_radius, | 2795 | corner_radius, |
| 2798 | }); | 2796 | }); |
| 2799 | } | 2797 | } |
src/layout/scrolling.rsmodified+0 -2
| @@ -110,8 +110,6 @@ pub enum InsertPosition { | |||
| 110 | #[derive(Debug)] | 110 | #[derive(Debug)] |
| 111 | pub struct InsertHint { | 111 | pub struct InsertHint { |
| 112 | pub position: InsertPosition, | 112 | pub position: InsertPosition, |
| 113 | - pub width: ColumnWidth, | ||
| 114 | - pub is_full_width: bool, | ||
| 115 | pub corner_radius: CornerRadius, | 113 | pub corner_radius: CornerRadius, |
| 116 | } | 114 | } |
| 117 | 115 | ||