fix(touch): Allow for multi-touch in OHIF (#5099)

This commit is contained in:
Joe Boccanfuso authored and GitHub committed 2025-06-05 13:50:27 -04:00
1 parent 2e7124bace
commit 1a6aa09a77
10 files changed
+63 -55

No files matched your search

+2 -2
View File
@@ -19,11 +19,11 @@ function _initToolGroups(toolNames, Enums, toolGroupService, commandsManager) {
},
{
toolName: toolNames.Zoom,
bindings: [{ mouseButton: Enums.MouseBindings.Secondary }],
bindings: [{ mouseButton: Enums.MouseBindings.Secondary }, { numTouchPoints: 2 }],
},
{
toolName: toolNames.StackScroll,
bindings: [{ mouseButton: Enums.MouseBindings.Wheel }],
bindings: [{ mouseButton: Enums.MouseBindings.Wheel }, { numTouchPoints: 3 }],
},
],
passive: [