layout: Reduce field visibility

The outside code isn't supposed to mess with the fields.
This commit is contained in:
Ivan Molodetskikh
2024-10-10 09:24:20 +03:00
parent e24723125f
commit ab7d81aae0
7 changed files with 41 additions and 29 deletions
+1 -1
View File
@@ -74,7 +74,7 @@ pub struct Tile<W: LayoutElement> {
scale: f64,
/// Configurable properties of the layout.
pub options: Rc<Options>,
pub(super) options: Rc<Options>,
}
niri_render_elements! {