diff --git a/src/window.rs b/src/window.rs index 6ebba45..b948935 100755 --- a/src/window.rs +++ b/src/window.rs @@ -71,7 +71,7 @@ impl Window { WindowBuilder::new(root) } - pub fn render(&mut self) { + pub(crate) fn render(&mut self) { let position = self.root.position(&mut self.renderer); eprintln!("Rendering window with id {:?}", self.id()); eprintln!("Root widget position: {position:?}");