mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
less numbers for the indicator text
This commit is contained in:
parent
ff6d7206a3
commit
c27d55db6c
@ -401,7 +401,7 @@ impl<'a> Widget for SettingsWindow<'a> {
|
||||
events.push(Event::CrosshairTransp(new_val));
|
||||
}
|
||||
|
||||
Text::new(&format!("{}", crosshair_transp,))
|
||||
Text::new(&format!("{:.2}", crosshair_transp,))
|
||||
.right_from(state.ids.ch_transp_slider, 8.0)
|
||||
.font_size(14)
|
||||
.font_id(self.fonts.opensans)
|
||||
|
Loading…
Reference in New Issue
Block a user