@lvce-editor/hover-worker 2.8.0 → 2.10.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.
- package/dist/hoverWorkerMain.js +7 -6
- package/package.json +1 -1
package/dist/hoverWorkerMain.js
CHANGED
|
@@ -1849,6 +1849,12 @@ const hoverDocumentation = {
|
|
|
1849
1849
|
className: HoverDocumentation,
|
|
1850
1850
|
type: Div
|
|
1851
1851
|
};
|
|
1852
|
+
const sash = {
|
|
1853
|
+
childCount: 0,
|
|
1854
|
+
className: mergeClassNames('Sash', 'SashVertical', 'SashResize'),
|
|
1855
|
+
onPointerDown: HandleSashPointerDown,
|
|
1856
|
+
type: Div
|
|
1857
|
+
};
|
|
1852
1858
|
const getChildCount = (lineInfos, documentation, diagnostics) => {
|
|
1853
1859
|
const diagnosticsCount = diagnostics && diagnostics.length > 0 ? 1 : 0;
|
|
1854
1860
|
return lineInfos.length + documentation ? 1 : 0 + diagnosticsCount;
|
|
@@ -1881,12 +1887,7 @@ const getHoverVirtualDom = (lineInfos, documentation, diagnostics) => {
|
|
|
1881
1887
|
if (documentation) {
|
|
1882
1888
|
dom.push(hoverDocumentation, text(documentation));
|
|
1883
1889
|
}
|
|
1884
|
-
dom.push(
|
|
1885
|
-
childCount: 0,
|
|
1886
|
-
className: mergeClassNames('Sash', 'SashVertical', 'SashResize'),
|
|
1887
|
-
onPointerDown: HandleSashPointerDown,
|
|
1888
|
-
type: Div
|
|
1889
|
-
});
|
|
1890
|
+
dom.push(sash);
|
|
1890
1891
|
return dom;
|
|
1891
1892
|
};
|
|
1892
1893
|
|