@lvce-editor/output-view 2.24.6 → 2.24.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -2279,6 +2279,7 @@ const handleScrollBarClick = (state, eventY) => {
|
|
|
2279
2279
|
scrollBarActive: true
|
|
2280
2280
|
};
|
|
2281
2281
|
};
|
|
2282
|
+
const handleScrollBarPointerDown = (state, eventY) => handleScrollBarClick(state, eventY);
|
|
2282
2283
|
|
|
2283
2284
|
const handleScrollBarMove = (state, eventY) => {
|
|
2284
2285
|
const {
|
|
@@ -2981,7 +2982,7 @@ const renderEventListeners = () => {
|
|
|
2981
2982
|
params: ['handleKeyDown', 'event.key']
|
|
2982
2983
|
}, {
|
|
2983
2984
|
name: HandleScrollBarPointerDown,
|
|
2984
|
-
params: ['
|
|
2985
|
+
params: ['handleScrollBarPointerDown', 'event.clientY'],
|
|
2985
2986
|
preventDefault: true,
|
|
2986
2987
|
stopPropagation: true,
|
|
2987
2988
|
trackPointerEvents: [HandleScrollBarMove, HandleScrollBarPointerCaptureLost]
|
|
@@ -3151,6 +3152,7 @@ const commandMap = {
|
|
|
3151
3152
|
'Output.handleScrollBarCaptureLost': wrapCommand(handleScrollBarCaptureLost),
|
|
3152
3153
|
'Output.handleScrollBarClick': wrapCommand(handleScrollBarClick),
|
|
3153
3154
|
'Output.handleScrollBarMove': wrapCommand(handleScrollBarMove),
|
|
3155
|
+
'Output.handleScrollBarPointerDown': wrapCommand(handleScrollBarPointerDown),
|
|
3154
3156
|
'Output.handleSelect': wrapCommand(handleSelect),
|
|
3155
3157
|
'Output.handleSourceLinkClick': wrapCommand(handleSourceLinkClick),
|
|
3156
3158
|
'Output.handleWheel': wrapCommand(handleWheel),
|