Plugin edit control opacity

This commit is contained in:
Robin E. R. Davies
2025-09-06 21:03:01 -04:00
parent 7cecd4da0d
commit dfbcb8bedf
+4 -2
View File
@@ -1094,14 +1094,16 @@ const PluginControl =
) : (
<div>
<Input key={value}
type={isMobileDevice()? "text": "number"}
inputMode="numeric"
defaultValue={control.formatShortValue(value)}
error={this.state.error}
inputProps={{
className: "scrollMod",
type: isMobileDevice()? "text": "number",
inputMode: "numeric",
min: this.props.uiControl?.min_value,
max: this.props.uiControl?.max_value,
opacity: this.state.editFocused ? 1 : 0,
}}
sx={{