summaryrefslogtreecommitdiffstats
path: root/native/src/user_interface.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--native/src/user_interface.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/native/src/user_interface.rs b/native/src/user_interface.rs
index 08914bed..b8fe7848 100644
--- a/native/src/user_interface.rs
+++ b/native/src/user_interface.rs
@@ -307,7 +307,7 @@ impl Cache {
pub fn new() -> Cache {
Cache {
hash: 0,
- layout: layout::Node::new(Size::new(0.0, 0.0)),
+ layout: layout::Node::new(Size::ZERO, Size::ZERO),
bounds: Size::ZERO,
cursor_position: Point::new(-1.0, -1.0),
}