diff options
author | tcmal <me@aria.rip> | 2024-08-25 17:44:24 +0100 |
---|---|---|
committer | tcmal <me@aria.rip> | 2024-08-25 17:44:24 +0100 |
commit | 59b5e4463d6eec0de27d6da6c85f8c719674e966 (patch) | |
tree | d1833c4702410df6f976d95ba5c9169b03125b35 /stockton-render/src/window.rs | |
parent | 6b8395152b8e0c7ddd714e195e4e92d464b8147c (diff) |
refactor(skeleton): clean up targetchain
Diffstat (limited to 'stockton-render/src/window.rs')
-rw-r--r-- | stockton-render/src/window.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stockton-render/src/window.rs b/stockton-render/src/window.rs index da80915..e6cf7fb 100644 --- a/stockton-render/src/window.rs +++ b/stockton-render/src/window.rs @@ -85,7 +85,7 @@ pub struct UiState { impl UiState { pub fn populate_initial_state<T: DrawPass<Singular>>(&mut self, renderer: &Renderer<T>) { - let props = &renderer.context().target_chain().properties(); + let props = renderer.context().properties(); self.set_dimensions(props.extent.width, props.extent.height); self.set_pixels_per_point(Some(renderer.context().pixels_per_point())); debug!("{:?}", self.raw_input); |