Mask overlay opacity keeps whole percents on the new framework base

This commit is contained in:
skylartaylor
2026-11-23 23:38:09 +01:00
parent c4756d8b46
commit 30f9dc368e
+2
View File
@@ -860,6 +860,8 @@ fn overlay_options(app: &mut LightcraftApp, ui: &mut egui::Ui) {
.unit("%")
.snap_typed(true)
.fixed_decimals(0)
// (next shows percent fields with one decimal unless the field's own decimals are asked to win)
.exact_decimals(true)
.commit_decimals(0)
.enabled(real && enabled)
.show_at(ui, value_rect);