Skip to content

Commit

Permalink
Merge pull request #25 from cohstats/master
Browse files Browse the repository at this point in the history
Invert UI checker for alwaysShowOverlay
  • Loading branch information
JohannesMerkt authored Mar 13, 2023
2 parents 1e1b236 + 256427e commit 3b85aef
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "coh3-stats-desktop-app",
"private": true,
"version": "1.1.0",
"version": "1.1.1",
"type": "module",
"scripts": {
"dev": "vite",
Expand Down
2 changes: 1 addition & 1 deletion src-tauri/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "coh3-stats-desktop-app"
version = "1.1.0"
version = "1.1.1"
description = "A Tauri App"
authors = ["you"]
license = ""
Expand Down
2 changes: 1 addition & 1 deletion src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
},
"package": {
"productName": "Coh3 Stats Desktop App",
"version": "1.1.0"
"version": "1.1.1"
},
"tauri": {
"allowlist": {
Expand Down
8 changes: 4 additions & 4 deletions src/Settings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -180,16 +180,16 @@ export const Settings: React.FC = () => {
<Checkbox
checked={
alwaysShowOverlay === undefined
? false
: alwaysShowOverlay
? true
: !alwaysShowOverlay
}
onChange={(event) => {
events.settings_changed(
"alwaysShowOverlay",
`${event.currentTarget.checked}`
`${!event.currentTarget.checked}`
)
setAlwaysShowOverlay(
event.currentTarget.checked
!event.currentTarget.checked
)
if (gameData) {
gameData.reloadLogFile()
Expand Down

0 comments on commit 3b85aef

Please sign in to comment.