Removed non-const function calls

This commit is contained in:
Brandon S 2025-02-17 09:45:23 -05:00
parent fbacac3b9b
commit baabdffca1

View File

@ -122,7 +122,7 @@ impl ComputedNode {
///
#[inline]
pub const fn logical_size(&self) -> Vec2 {
self.size * self.inverse_scale_factor
self.size() * self.inverse_scale_factor()
}
/// Returns the thickness of the UI node's outline in physical pixels.