Skip to content

Commit

Permalink
Update ZenSidebarManager.mjs
Browse files Browse the repository at this point in the history
Signed-off-by: Jai A P <[email protected]>
  • Loading branch information
Jai-JAP authored Nov 11, 2024
1 parent ac34c26 commit 8fa5158
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/browser/base/zen-components/ZenSidebarManager.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ class ZenBrowserManagerSidebar extends ZenDOMOperatedFeature {
this._isDragging = true;

const isHorizontal = mouseDownEvent.target.getAttribute('orient') === 'horizontal';
setCursor(isHorizontal ? 'n-resize' : 'ew-resize');
setCursor(isHorizontal ? 'ns-resize' : 'ew-resize');
const reverse = ['left', 'top'].includes(mouseDownEvent.target.getAttribute('side'));
const direction = isHorizontal ? 'height' : 'width';
const axis = isHorizontal ? 'Y' : 'X';
Expand Down

0 comments on commit 8fa5158

Please sign in to comment.