Skip to content

Commit 7e9c75c

Browse files
author
CopeFiend
committed
Clamped to ui_font_size settings (8.0 - 48.0, whole number only)
1 parent b3de32f commit 7e9c75c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

editor/src/settings/general.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ pub struct GeneralSettings {
8383
pub style: EditorStyle,
8484

8585
#[serde(default = "default_ui_font_size")]
86+
#[reflect(min_value = 8.0, max_value = 48.0, step = 1.0, precision = 0)]
8687
pub ui_font_size: f32,
8788
// TODO
8889
// world_viewer_font_size // Hardcoded at: 11.0

0 commit comments

Comments
 (0)