Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
caiiiycuk committed Dec 29, 2023
1 parent bb0112d commit 953b0fc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@ export const Dos: DosFn = (element: HTMLDivElement,
setBackend(options.backend);
}

if (options.backendLoked) {
setBackendLocked(options.backendLoked);
if (options.backendLocked) {
setBackendLocked(options.backendLocked);
}

if (options.workerThread !== undefined) {
Expand Down
2 changes: 1 addition & 1 deletion src/public/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export interface DosOptions {
"night" | "coffee" | "winter",
lang: "ru" | "en",
backend: "dosbox" | "dosboxX",
backendLoked: boolean,
backendLocked: boolean,
workerThread: boolean,
mouseCapture: boolean,
onEvent: (event: "emu-ready" | "ci-ready" | "bnd-play", ci?: any) => void,
Expand Down

0 comments on commit 953b0fc

Please sign in to comment.