mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-17 11:01:37 -05:00
Fix overflow toolbar for split views (#10155)
* fix overflow toolbar not resizing correctly when split editor is opened * add comment
This commit is contained in:
@@ -40,6 +40,13 @@ export class OverflowActionBar extends ActionBar {
|
|||||||
}
|
}
|
||||||
}));
|
}));
|
||||||
|
|
||||||
|
// Needed so that toolbar gets resized properly with split views
|
||||||
|
this._register(DOM.addDisposableListener(window, DOM.EventType.MOUSE_MOVE, e => {
|
||||||
|
if (this._actionsList) {
|
||||||
|
this.resizeToolbar();
|
||||||
|
}
|
||||||
|
}));
|
||||||
|
|
||||||
this._overflow = document.createElement('ul');
|
this._overflow = document.createElement('ul');
|
||||||
this._overflow.id = 'overflow';
|
this._overflow.id = 'overflow';
|
||||||
this._overflow.className = 'overflow';
|
this._overflow.className = 'overflow';
|
||||||
|
|||||||
Reference in New Issue
Block a user