aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2023-01-19 14:59:14 -0330
committerSam Anthony <sam@samanthony.xyz>2023-01-19 14:59:14 -0330
commitbcfb575e16db5939f18dc960df0263bf94fdb3a2 (patch)
tree501e1dd54ec62090fd918f722eeb730e51b6606b /src/main.rs
parentf6e96daa12f70f40601eb4d04dc8c8a492008af8 (diff)
downloadvolute-bcfb575e16db5939f18dc960df0263bf94fdb3a2.zip
displacement unit
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
index 7af7bac..2c1fa85 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -63,6 +63,7 @@ impl Sandbox for App {
column![row![
text("Displacement:"),
text_input("2.0", &self.ui.displacement, Message::DisplacementChanged),
+ text(self.displacement.unit()),
]]
.into()
}