Skip to content

Commit ec51966

Browse files
committed
chore(prisma-ext): add scrollDirection setting
1 parent c074608 commit ec51966

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

packages/prisma-vs-code-extension/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ This [tutorial](https://juste.bocovo.me/visualize-the-entity-relationship-diagra
1919
The following Visual Studio Code settings are available for the extension.
2020

2121
- `prismaERDPreviewer.preferredTheme`: This configuration define the theme to use. There are two different theme the `light` and `dark`. The default theme is `dark`.
22+
- `prismaERDPreviewer.scrollDirection`: This configuration define the scroll direction. There are two different scroll direction the `up-out` and `up-in`. The default scroll direction is `up-out`.
2223

2324
## Release Notes
2425

packages/prisma-vs-code-extension/package.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,18 @@
4747
"To use dark mode theme colors",
4848
"To use light mode theme colors"
4949
]
50+
},
51+
"prismaERDPreviewer.scrollDirection": {
52+
"type": "string",
53+
"default": "up-out",
54+
"enum": [
55+
"up-out",
56+
"up-in"
57+
],
58+
"enumDescriptions": [
59+
"To zoom out when scrolling up",
60+
"To zoom in when scrolling up"
61+
]
5062
}
5163
}
5264
}

0 commit comments

Comments
 (0)