Skip to content

Commit

Permalink
Add Debug Mode
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanseifert committed Jan 1, 2025
1 parent fce72a8 commit 648674d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@
<dt>Source Code (Apache-2.0 License)</dt>
<dd><a href="https://github.com/brdgm/skymines-solo-helper" target="_blank" rel="noopener">https://github.com/brdgm/skymines-solo-helper</a></dd>
</dl>
<div class="form-check small">
<label class="form-check-label"><input class="form-check-input" type="checkbox" :value="true" v-model="state.setup.debugMode">Debug Mode</label>
</div>
</template>
</ModalDialog>

Expand Down
1 change: 1 addition & 0 deletions src/store/state.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ export interface State {
export interface Setup {
playerSetup: PlayerSetup
difficultyLevel: DifficultyLevel
debugMode?: boolean
}
export interface PlayerSetup {
playerCount: number
Expand Down

0 comments on commit 648674d

Please sign in to comment.