Plugin edit control opacity
This commit is contained in:
@@ -1094,14 +1094,16 @@ const PluginControl =
|
|||||||
) : (
|
) : (
|
||||||
<div>
|
<div>
|
||||||
<Input key={value}
|
<Input key={value}
|
||||||
type={isMobileDevice()? "text": "number"}
|
|
||||||
inputMode="numeric"
|
|
||||||
defaultValue={control.formatShortValue(value)}
|
defaultValue={control.formatShortValue(value)}
|
||||||
error={this.state.error}
|
error={this.state.error}
|
||||||
inputProps={{
|
inputProps={{
|
||||||
className: "scrollMod",
|
className: "scrollMod",
|
||||||
|
type: isMobileDevice()? "text": "number",
|
||||||
|
inputMode: "numeric",
|
||||||
|
|
||||||
min: this.props.uiControl?.min_value,
|
min: this.props.uiControl?.min_value,
|
||||||
max: this.props.uiControl?.max_value,
|
max: this.props.uiControl?.max_value,
|
||||||
|
opacity: this.state.editFocused ? 1 : 0,
|
||||||
}}
|
}}
|
||||||
|
|
||||||
sx={{
|
sx={{
|
||||||
|
|||||||
Reference in New Issue
Block a user