aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2022-09-21 15:58:48 -0400
committerbobzel <zzzman@gmail.com>2022-09-21 15:58:48 -0400
commit1c8007f5354e24420250359071b93f6b8526f009 (patch)
tree5e21821193dfbb7046a21712b1ec750dd45485a7 /src
parent4ae8a40f4c80025ded7696a03d9c3348b55bcbc5 (diff)
fixed pres box sliders.
Diffstat (limited to 'src')
-rw-r--r--src/client/views/nodes/trails/PresBox.tsx5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/client/views/nodes/trails/PresBox.tsx b/src/client/views/nodes/trails/PresBox.tsx
index 7f0f13437..40cda4f7e 100644
--- a/src/client/views/nodes/trails/PresBox.tsx
+++ b/src/client/views/nodes/trails/PresBox.tsx
@@ -1232,7 +1232,10 @@ export class PresBox extends ViewBoxBaseComponent<FieldViewProps>() {
max={max}
value={value}
className={`toolbar-slider ${active ? '' : 'none'}`}
- onPointerDown={() => (this._batch = UndoManager.StartBatch('pres slider'))}
+ onPointerDown={e => {
+ this._batch = UndoManager.StartBatch('pres slider');
+ e.stopPropagation();
+ }}
onPointerUp={() => this._batch?.end()}
onChange={e => {
e.stopPropagation();