mirror of
https://github.com/Microsoft/vscode
synced 2024-09-12 21:24:38 +00:00
skip test & 💄 (#155826)
This commit is contained in:
parent
ace330ba2c
commit
6cad4b9494
|
@ -284,7 +284,7 @@ const apiTestContentProvider: vscode.NotebookContentProvider = {
|
|||
assert.ok(cell.metadata.extraCellMetadata, `Test cell metdata not found`);
|
||||
});
|
||||
|
||||
test('edit API batch edits undo/redo', async function () {
|
||||
test.skip('edit API batch edits undo/redo', async function () { // TODO@rebornix https://github.com/microsoft/vscode/issues/155825
|
||||
const notebook = await openRandomNotebookDocument();
|
||||
const editor = await vscode.window.showNotebookDocument(notebook);
|
||||
|
||||
|
|
|
@ -299,8 +299,8 @@ export class CodeWindow extends Disposable implements ICodeWindow {
|
|||
// thus we need to capture them here with a window hook specific to Windows
|
||||
// and then forward them to the correct window.
|
||||
if (isWindows && useCustomTitleStyle) {
|
||||
// https://docs.microsoft.com/en-us/windows/win32/menurc/wm-initmenu
|
||||
const WM_INITMENU = 0x0116;
|
||||
const WM_INITMENU = 0x0116; // https://docs.microsoft.com/en-us/windows/win32/menurc/wm-initmenu
|
||||
|
||||
// This sets up a listener for the window hook. This is a Windows-only API provided by electron.
|
||||
this._win.hookWindowMessage(WM_INITMENU, () => {
|
||||
const [x, y] = this._win.getPosition();
|
||||
|
@ -311,6 +311,7 @@ export class CodeWindow extends Disposable implements ICodeWindow {
|
|||
this._win.setEnabled(true);
|
||||
|
||||
this._onDidTriggerSystemContextMenu.fire({ x: cursorPos.x - x, y: cursorPos.y - y });
|
||||
|
||||
return 0; // skip native menu
|
||||
});
|
||||
}
|
||||
|
|
|
@ -32,8 +32,8 @@
|
|||
}
|
||||
|
||||
.monaco-workbench .part.statusbar > .right-items {
|
||||
flex-direction: row-reverse;
|
||||
flex-wrap: wrap /* ensures that the most right elements wrap last when space is little */;
|
||||
flex-wrap: wrap ; /* overflow elements by wrapping */
|
||||
flex-direction: row-reverse; /* let the elements to the left wrap first */
|
||||
}
|
||||
|
||||
.monaco-workbench .part.statusbar > .left-items {
|
||||
|
|
|
@ -531,6 +531,7 @@ export class StatusbarPart extends Part implements IStatusbarService {
|
|||
}
|
||||
|
||||
this.styleElement.textContent = `
|
||||
|
||||
/* Status bar focus outline */
|
||||
.monaco-workbench .part.statusbar:focus {
|
||||
outline-color: ${statusBarFocusColor};
|
||||
|
@ -541,10 +542,11 @@ export class StatusbarPart extends Part implements IStatusbarService {
|
|||
outline: 1px solid ${this.getColor(activeContrastBorder) ?? itemBorderColor};
|
||||
outline-offset: ${borderColor ? '-2px' : '-1px'};
|
||||
}
|
||||
|
||||
/* Notification Beak */
|
||||
.monaco-workbench .part.statusbar > .items-container > .statusbar-item.has-beak:before {
|
||||
border-bottom-color: ${backgroundColor};
|
||||
}
|
||||
}
|
||||
`;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue