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-skeleton/src/lib.rs | |
parent | 6b8395152b8e0c7ddd714e195e4e92d464b8147c (diff) |
refactor(skeleton): clean up targetchain
Diffstat (limited to 'stockton-skeleton/src/lib.rs')
-rw-r--r-- | stockton-skeleton/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stockton-skeleton/src/lib.rs b/stockton-skeleton/src/lib.rs index 785fb30..b514531 100644 --- a/stockton-skeleton/src/lib.rs +++ b/stockton-skeleton/src/lib.rs @@ -72,7 +72,7 @@ impl<DP: DrawPass<Singular>> Renderer<DP> { } pub fn get_aspect_ratio(&self) -> f32 { - let e = self.context.target_chain().properties().extent; + let e = self.context.properties().extent; e.width as f32 / e.height as f32 } |