From 1c8007f5354e24420250359071b93f6b8526f009 Mon Sep 17 00:00:00 2001 From: bobzel Date: Wed, 21 Sep 2022 15:58:48 -0400 Subject: fixed pres box sliders. --- src/client/views/nodes/trails/PresBox.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src') 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() { 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(); -- cgit v1.2.3-70-g09d2