render visibility modifier changed to pub(crate)

This commit is contained in:
TheOddGarlic 2022-04-29 22:07:14 +03:00
parent 0e2066e9fe
commit 365fb6741c

View file

@ -71,7 +71,7 @@ impl Window {
WindowBuilder::new(root) WindowBuilder::new(root)
} }
pub fn render(&mut self) { pub(crate) fn render(&mut self) {
let position = self.root.position(&mut self.renderer); let position = self.root.position(&mut self.renderer);
eprintln!("Rendering window with id {:?}", self.id()); eprintln!("Rendering window with id {:?}", self.id());
eprintln!("Root widget position: {position:?}"); eprintln!("Root widget position: {position:?}");