mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
ui: fix editor
This commit is contained in:
2 files changed
+2
-2
No files matched your search
@@ -90,7 +90,7 @@ export default class Editor extends DOMAttachedObject {
|
|||||||
theme,
|
theme,
|
||||||
lineNumbers,
|
lineNumbers,
|
||||||
glyphMargin: true,
|
glyphMargin: true,
|
||||||
lightbulb: { enabled: true },
|
lightbulb: { enabled: monaco.editor.ShowLightbulbIconMode.On },
|
||||||
model: this.model,
|
model: this.model,
|
||||||
minimap: { enabled: false },
|
minimap: { enabled: false },
|
||||||
hideCursorInOverviewRuler: true,
|
hideCursorInOverviewRuler: true,
|
||||||
|
|||||||
@@ -51,7 +51,7 @@ export default connect((state: any) => ({
|
|||||||
...customOptions,
|
...customOptions,
|
||||||
lineNumbers: 'on',
|
lineNumbers: 'on',
|
||||||
glyphMargin: true,
|
glyphMargin: true,
|
||||||
lightbulb: { enabled: true },
|
lightbulb: { enabled: monaco.editor.ShowLightbulbIconMode.On },
|
||||||
model: this.model,
|
model: this.model,
|
||||||
fontLigatures: '',
|
fontLigatures: '',
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in new issue
Block a user