fix: Delete study measurements instead of all measurements (#4882)
This commit is contained in:
1 parent
165c9dc710
commit
8e47112d8e
16 files changed
+237
-232
No files matched your search
@@ -888,6 +888,9 @@ function commandsModule({
|
||||
},
|
||||
scroll: (options: ToolTypes.ScrollOptions) => {
|
||||
const enabledElement = _getActiveViewportEnabledElement();
|
||||
// Allow either or direction for consistency in scroll implementation
|
||||
options.delta ??= options.direction || 1;
|
||||
options.direction ??= options.delta;
|
||||
|
||||
if (!enabledElement) {
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user