mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 13:00:58 +00:00
Fix opening select boxes (#214348)
* Fix opening select boxes This fixes a regression caused by #213465 Closes #214303 Closes #214345 * Fix another regression caused by #213465 --------- Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
This commit is contained in:
parent
7cd1f1ce4e
commit
9111dec272
|
@ -609,8 +609,8 @@ export class SelectBoxList extends Disposable implements ISelectBoxDelegate, ILi
|
|||
this._dropDownPosition = AnchorPosition.ABOVE;
|
||||
this.selectDropDownListContainer.remove();
|
||||
this.selectionDetailsPane.remove();
|
||||
this.selectionDetailsPane.remove();
|
||||
this.selectDropDownListContainer.remove();
|
||||
this.selectDropDownContainer.appendChild(this.selectionDetailsPane);
|
||||
this.selectDropDownContainer.appendChild(this.selectDropDownListContainer);
|
||||
|
||||
this.selectionDetailsPane.classList.remove('border-top');
|
||||
this.selectionDetailsPane.classList.add('border-bottom');
|
||||
|
@ -619,8 +619,8 @@ export class SelectBoxList extends Disposable implements ISelectBoxDelegate, ILi
|
|||
this._dropDownPosition = AnchorPosition.BELOW;
|
||||
this.selectDropDownListContainer.remove();
|
||||
this.selectionDetailsPane.remove();
|
||||
this.selectDropDownListContainer.remove();
|
||||
this.selectionDetailsPane.remove();
|
||||
this.selectDropDownContainer.appendChild(this.selectDropDownListContainer);
|
||||
this.selectDropDownContainer.appendChild(this.selectionDetailsPane);
|
||||
|
||||
this.selectionDetailsPane.classList.remove('border-bottom');
|
||||
this.selectionDetailsPane.classList.add('border-top');
|
||||
|
|
|
@ -110,6 +110,6 @@ export class PartsSplash {
|
|||
|
||||
// remove initial colors
|
||||
const defaultStyles = mainWindow.document.head.getElementsByClassName('initialShellColors');
|
||||
defaultStyles?.[0].remove();
|
||||
defaultStyles[0]?.remove();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue