mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 18:44:16 +00:00
update settings
This commit is contained in:
parent
ca55ed70d9
commit
be663f31ec
@ -98,8 +98,33 @@ export default [
|
||||
"id": "collapseOnLooseFocus",
|
||||
"group": "sidebar",
|
||||
"type": "Switch",
|
||||
"icon": "Columns",
|
||||
"title": "Auto Collapse",
|
||||
"description": "Collapse the sidebar when loose focus",
|
||||
"emitEvent": "settingChanged.sidebar_collapse",
|
||||
},
|
||||
{
|
||||
"id": "autoCollapseDelay",
|
||||
"group": "sidebar",
|
||||
"type": "Slider",
|
||||
"icon": "Wh",
|
||||
"dependsOn": {
|
||||
"collapseOnLooseFocus": true
|
||||
},
|
||||
"title": "Auto Collapse timeout",
|
||||
"description": "Set the delay before the sidebar is collapsed",
|
||||
"props": {
|
||||
min: 0,
|
||||
max: 2000,
|
||||
step: 100,
|
||||
marks: {
|
||||
0: "No delay",
|
||||
600: "0.6s",
|
||||
1000: "1s",
|
||||
1500: "1.5s",
|
||||
2000: "2s",
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "reduceAnimations",
|
||||
|
Loading…
x
Reference in New Issue
Block a user