@lvce-editor/hover-worker 2.8.0 → 2.9.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.
@@ -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
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/hover-worker",
3
- "version": "2.8.0",
3
+ "version": "2.9.0",
4
4
  "description": "Web Worker for the find widget in Lvce Editor",
5
5
  "repository": {
6
6
  "type": "git",