@lvce-editor/source-control-worker 2.4.0 → 2.5.0
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.
|
@@ -2526,7 +2526,6 @@ const HandleClickAt = 1;
|
|
|
2526
2526
|
const HandleContextMenu = 2;
|
|
2527
2527
|
const HandleFocus = 3;
|
|
2528
2528
|
const HandleInput = 4;
|
|
2529
|
-
const HandleMouseOut = 5;
|
|
2530
2529
|
const HandleMouseOutAt = 6;
|
|
2531
2530
|
const HandleMouseOver = 7;
|
|
2532
2531
|
const HandleMouseOverAt = 8;
|
|
@@ -2775,15 +2774,16 @@ const getSplitButtonVirtualDom = (hasItems, splitButtonEnabled, buttonText) => {
|
|
|
2775
2774
|
}];
|
|
2776
2775
|
};
|
|
2777
2776
|
|
|
2777
|
+
const className = mergeClassNames(Viewlet, SourceControl);
|
|
2778
2778
|
const getSourceControlVirtualDom = (items, splitButtonEnabled, inputPlaceholder) => {
|
|
2779
2779
|
const hasItems = items.length > 0;
|
|
2780
2780
|
const dom = [{
|
|
2781
2781
|
type: Div,
|
|
2782
|
-
className:
|
|
2782
|
+
className: className,
|
|
2783
2783
|
tabIndex: 0,
|
|
2784
2784
|
onContextMenu: HandleContextMenu,
|
|
2785
2785
|
onMouseOver: HandleMouseOver,
|
|
2786
|
-
onMouseOut: HandleMouseOut,
|
|
2786
|
+
// onMouseOut: DomEventListenerFunctions.HandleMouseOut,
|
|
2787
2787
|
onWheel: HandleWheel,
|
|
2788
2788
|
childCount: splitButtonEnabled ? 3 : 2
|
|
2789
2789
|
}, ...getSourceControlHeaderVirtualDom(inputPlaceholder), ...getSplitButtonVirtualDom(hasItems, splitButtonEnabled, 'Commit'), ...getSourceControlListVirtualDom(items)];
|