Removed non-const function calls
This commit is contained in:
parent
fbacac3b9b
commit
baabdffca1
@ -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.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user