mirror of
https://github.com/zen-browser/components.git
synced 2025-07-08 00:59:57 +02:00
Apply cursor resize when resizing in split view.
This commit is contained in:
parent
f29af2b115
commit
ce3b03fd77
1 changed files with 2 additions and 0 deletions
|
@ -508,9 +508,11 @@ var gZenViewSplitter = new (class {
|
|||
const stopListeners = () => {
|
||||
removeEventListener('mousemove', dragFunc);
|
||||
removeEventListener('mouseup', stopListeners);
|
||||
setCursor('auto');
|
||||
}
|
||||
addEventListener('mousemove', dragFunc);
|
||||
addEventListener('mouseup', stopListeners);
|
||||
setCursor(isVertical ? 'ew-resize' : 'n-resize');
|
||||
}
|
||||
|
||||
updateGridSizes() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue