diff --git a/src/window_draw_list.rs b/src/window_draw_list.rs index 0897dbb..bb3e1a3 100644 --- a/src/window_draw_list.rs +++ b/src/window_draw_list.rs @@ -64,7 +64,7 @@ impl<'ui> DrawAPI for WindowDrawList<'ui> { } impl<'ui> WindowDrawList<'ui> { - pub fn new(_: &Ui<'ui>) -> Self { + pub(crate) fn new(_: &Ui<'ui>) -> Self { Self { draw_list: unsafe { sys::igGetWindowDrawList() }, _phantom: PhantomData,