mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-17 00:34:25 +00:00
merge-fwb: FW13: unit-menu param rows report their field's range alert like the other number rows
This commit is contained in:
@@ -476,6 +476,7 @@ impl<'p> Pass<'p> {
|
||||
field = field.range(range);
|
||||
}
|
||||
let shown = field.show(ui);
|
||||
self.alert(shown.out_of_range);
|
||||
if let Some(v) = shown.edit.value().cloned().flatten() {
|
||||
self.work.set(line.key, FieldValue::Number(v * factor));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user