Skip to content

Commit

Permalink
fix: position description
Browse files Browse the repository at this point in the history
  • Loading branch information
subframe7536 committed Dec 17, 2024
1 parent 3f601c6 commit 65b37d6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ Please make sure the VSCode is totally replaced while upgrading.
| `custom-ui-style.background.url` | Full-screen background image url, support protocol: 'https://', 'file://', 'data:' | `string` | `` |
| `custom-ui-style.background.opacity` | Background image opacity | `number` | `0.9` |
| `custom-ui-style.background.size` | Background image size | `string` | `"cover"` |
| `custom-ui-style.background.position` | Background image size | `string` | `"center"` |
| `custom-ui-style.background.position` | Background image position | `string` | `"center"` |
| `custom-ui-style.stylesheet` | Custom css for editor, support nest selectors | `object` | `{}` |
| `custom-ui-style.webview.monospaceSelector` | Custom monospace selector in webview | `array` | `` |
| `custom-ui-style.webview.sansSerifSelector` | Custom sans-serif selector in webview | `array` | `` |
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
"custom-ui-style.background.position": {
"scope": "application",
"type": "string",
"description": "Background image size",
"description": "Background image position",
"default": "center"
},
"custom-ui-style.stylesheet": {
Expand Down
6 changes: 3 additions & 3 deletions src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ import path from 'node:path'
import { readFileSync, writeFileSync } from 'atomically'
import { useLogger } from 'reactive-vscode'
import { commands, version, window } from 'vscode'
import { displayName, name } from './generated/meta'
import * as Meta from './generated/meta'
import { baseDir } from './path'
import { restartApp } from './restart'

export const log = useLogger(displayName)
export const log = useLogger(Meta.displayName)

const lockFile = path.join(baseDir, `__${name}__.lock`)
const lockFile = path.join(baseDir, `__${Meta.name}__.lock`)

export async function runAndRestart(message: string, action: () => Promise<any>) {
let count = 5
Expand Down

0 comments on commit 65b37d6

Please sign in to comment.