Skip to content

Commit 4891644

Browse files
committed
bugfix with cn web release, show help by default
1 parent 1862383 commit 4891644

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

apps/notation_viewer_cn/Cargo.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,11 @@ identifier = "fun.notation.viewer_cn"
99
resources = ["assets"]
1010

1111
[features]
12+
default = [
13+
"notation_bevy/chinese",
14+
]
1215
native = [
1316
"notation_bevy/native",
14-
"notation_bevy/chinese",
1517
]
1618
dev = [
1719
"notation_bevy/dev",

crates/notation_bevy/src/app/app_state.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,13 @@ impl NotationAppState {
3232
tab_path,
3333
tab: None,
3434
show_control: false,
35+
36+
#[cfg(debug_assertions)]
3537
show_help: false,
38+
39+
#[cfg(not(debug_assertions))]
40+
show_help: true,
41+
3642
parse_error: None,
3743
debug_str: None,
3844
_despawn_delay_seconds: 0.0,

0 commit comments

Comments
 (0)