finished moving out render_state

This commit is contained in:
iris committed 2026-01-19 18:00:24 -05:00
1 parent 79813db3ba
commit 06dd015092
26 files changed
+496 -220

No files matched your search

+1 -1
View File
@@ -13,6 +13,6 @@ pub struct EventIdCtx<'a, Rsc: HasEvents, Data, W: ?Sized> {
impl<Rsc: HasEvents, Data, W: Widget> EventIdCtx<'_, Rsc, Data, W> {
pub fn widget<'a>(&self, rsc: &'a mut Rsc) -> &'a mut W {
&mut rsc.widgets_mut()[self.widget]
&mut rsc.ui_mut().widgets[self.widget]
}
}