Skip to content

Commit 10a04ab

Browse files
authored
Merge pull request #1469 from TheLouisHong/TheLouisHong-PR-journal.lua-fix
bug fix: journal.lua minor performance lost due to typo "colllapsed"
2 parents 0dc10e3 + 800ae83 commit 10a04ab

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

changelog.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ Template for new versions:
3232
## New Features
3333

3434
## Fixes
35+
- `gui/journal`: fix typo which caused the table of contents to always be regenerated even when not needed
3536
- `gui/mod-manager`: gracefully handle mods with missing or broken ``info.txt`` files
3637
- `uniform-unstick`: resolve overlap with new buttons in 51.13
3738

gui/journal.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ function JournalWindow:init()
7272
self.subviews.table_of_contents_panel.visible = not collapsed
7373
self.subviews.table_of_contents_divider.visible = not collapsed
7474

75-
if not colllapsed then
75+
if not collapsed then
7676
self:reloadTableOfContents()
7777
end
7878

0 commit comments

Comments
 (0)