mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-27 12:04:04 +01:00
Fix isReadonly being inverted for custom editors
For #96503 This should enable the revert command on windows
This commit is contained in:
@@ -722,7 +722,7 @@ class MainThreadCustomEditorModel extends Disposable implements ICustomEditorMod
|
||||
//#endregion
|
||||
|
||||
public isReadonly() {
|
||||
return this._editable;
|
||||
return !this._editable;
|
||||
}
|
||||
|
||||
public get viewType() {
|
||||
|
||||
Reference in New Issue
Block a user