@yogiswara/honcho-editor-ui 3.5.1 → 3.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -104,10 +104,20 @@ export default function HSliderDetailsMobile(props) {
|
|
|
104
104
|
'& .MuiSlider-rail': {
|
|
105
105
|
background: colors.onSurfaceVariant,
|
|
106
106
|
opacity: 1,
|
|
107
|
+
pointerEvents: 'none', // ✅ Add this
|
|
108
|
+
},
|
|
109
|
+
'& .MuiSlider-track': {
|
|
110
|
+
background: 'transparent',
|
|
111
|
+
border: 'none',
|
|
112
|
+
pointerEvents: 'none',
|
|
107
113
|
},
|
|
108
114
|
'& .MuiSlider-thumb': {
|
|
109
115
|
background: colors.surface,
|
|
110
116
|
opacity: 1,
|
|
117
|
+
boxShadow: 'none',
|
|
118
|
+
pointerEvents: 'auto', // ✅ Add this
|
|
119
|
+
touchAction: 'none', // ✅ Add this
|
|
120
|
+
zIndex: 2, // ✅ Add this
|
|
111
121
|
},
|
|
112
122
|
'& .MuiSlider-thumb:hover': {
|
|
113
123
|
boxShadow: 'none',
|
|
@@ -138,10 +148,20 @@ export default function HSliderDetailsMobile(props) {
|
|
|
138
148
|
'& .MuiSlider-rail': {
|
|
139
149
|
background: colors.onSurfaceVariant,
|
|
140
150
|
opacity: 1,
|
|
151
|
+
pointerEvents: 'none', // ✅ Add this
|
|
152
|
+
},
|
|
153
|
+
'& .MuiSlider-track': {
|
|
154
|
+
background: 'transparent',
|
|
155
|
+
border: 'none',
|
|
156
|
+
pointerEvents: 'none',
|
|
141
157
|
},
|
|
142
158
|
'& .MuiSlider-thumb': {
|
|
143
159
|
background: colors.surface,
|
|
144
160
|
opacity: 1,
|
|
161
|
+
boxShadow: 'none',
|
|
162
|
+
pointerEvents: 'auto', // ✅ Add this
|
|
163
|
+
touchAction: 'none', // ✅ Add this
|
|
164
|
+
zIndex: 2, // ✅ Add this
|
|
145
165
|
},
|
|
146
166
|
'& .MuiSlider-thumb:hover': {
|
|
147
167
|
boxShadow: 'none',
|
|
@@ -151,5 +171,5 @@ export default function HSliderDetailsMobile(props) {
|
|
|
151
171
|
ref: sharpnessRef,
|
|
152
172
|
onDoubleClick: sharpnessInput.handleDoubleClick
|
|
153
173
|
}
|
|
154
|
-
}, size: "small", value: props.
|
|
174
|
+
}, size: "small", value: props.sharpnessScore, step: 1, min: -100, max: 100, onChange: (_event, newValue) => props.onSharpnessChange("sharpnessScore", newValue) })] })] }) }));
|
|
155
175
|
}
|