mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
ui: 优化系统设置页面
This commit is contained in:
1 parent
29c8fded62
commit
03cddc00b2
7 files changed
+26
-14
No files matched your search
@@ -58,10 +58,16 @@ export default class Editor extends DOMAttachedObject {
|
||||
lightbulb: { enabled: true },
|
||||
model: this.model,
|
||||
automaticLayout: true,
|
||||
wordWarp: 'bounded',
|
||||
minimap: { enabled: false },
|
||||
hideCursorInOverviewRuler: true,
|
||||
overviewRulerLanes: 0,
|
||||
overviewRulerBorder: false,
|
||||
};
|
||||
if (autoResize) {
|
||||
cfg.scrollbar = {
|
||||
vertical: 'hidden',
|
||||
horizontal: 'hidden',
|
||||
handleMouseWheel: false,
|
||||
};
|
||||
cfg.scrollBeyondLastLine = false;
|
||||
|
||||
Reference in new issue
Block a user