Virtual whiteboard for sketching hand-drawn like diagrams
fix: remove opacity scroll wheel interaction (#5111)
Johannesaee1e2451e9d
diff --git a/src/actions/actionProperties.tsx b/src/actions/actionProperties.tsxindex 53801a220a..49efbe45f0 100644--- a/src/actions/actionProperties.tsx+++ b/src/actions/actionProperties.tsx@@ -503,20 +503,6 @@ export const actionChangeOpacity = register({max="100"step="10"onChange={(event) => updateData(+event.target.value)}- onWheel={(event) => {- event.stopPropagation();- const target = event.target as HTMLInputElement;- const STEP = 10;- const MAX = 100;- const MIN = 0;- const value = +target.value;-- if (event.deltaY < 0 && value < MAX) {- updateData(value + STEP);- } else if (event.deltaY > 0 && value > MIN) {- updateData(value - STEP);- }- }}value={getFormValue(elements,