fix clippy

This commit is contained in:
KOKI 2022-05-30 18:10:18 +09:00
parent e8ae78d3fb
commit a9402c77e2

View File

@ -522,7 +522,7 @@ where
fill: self.graph[self.node_id]
.user_data
.titlebar_color(ui, self.node_id, self.graph, user_state)
.unwrap_or(background_color.lighten(0.8)),
.unwrap_or_else(|| background_color.lighten(0.8)),
stroke: Stroke::none(),
});