From 365fb6741c811f99e0d4ab83852bb6f6fd9e03f0 Mon Sep 17 00:00:00 2001 From: TheOddGarlic Date: Fri, 29 Apr 2022 22:07:14 +0300 Subject: [PATCH] render visibility modifier changed to pub(crate) --- src/window.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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:?}");