Skip to content

Commit a9f4502

Browse files
authored
don't pass pause events through the ui (#1427)
can happen if keys are mashed in just the right way
2 parents ccdc48f + 74ac117 commit a9f4502

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

changelog.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ Template for new versions:
3535

3636
## Fixes
3737
- `idle-crafting`: check that units still have crafting needs before creating a job for them
38+
- `gui/journal`: prevent pause/unpause events from leaking through the UI when keys are mashed
3839

3940
## Misc Improvements
4041

gui/journal.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,7 @@ end
268268
JournalScreen = defclass(JournalScreen, gui.ZScreen)
269269
JournalScreen.ATTRS {
270270
focus_path='journal',
271+
pass_pause=false,
271272
context_mode=DEFAULT_NIL,
272273
save_layout=true,
273274
save_prefix=''

0 commit comments

Comments
 (0)