summaryrefslogtreecommitdiffstats
path: root/widget/src/tooltip.rs
diff options
context:
space:
mode:
Diffstat (limited to 'widget/src/tooltip.rs')
-rw-r--r--widget/src/tooltip.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/widget/src/tooltip.rs b/widget/src/tooltip.rs
index 5bebeeac..2d674bca 100644
--- a/widget/src/tooltip.rs
+++ b/widget/src/tooltip.rs
@@ -470,8 +470,10 @@ where
layout::Node::with_children(
tooltip_bounds.size(),
- vec![tooltip_layout
- .translate(Vector::new(self.padding, self.padding))],
+ vec![
+ tooltip_layout
+ .translate(Vector::new(self.padding, self.padding)),
+ ],
)
.translate(Vector::new(tooltip_bounds.x, tooltip_bounds.y))
}