Skip to content

Commit 48ecad8

Browse files
committed
Increase size of changelog subtitles
1 parent a7e7533 commit 48ecad8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Modules/Main.lua

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1118,7 +1118,7 @@ function main:OpenUpdatePopup()
11181118
end
11191119

11201120
function main:OpenAboutPopup(helpSectionIndex)
1121-
local textSize, titleSize, popupWidth = 16, 24, 810
1121+
local textSize, subTitleSize, titleSize, popupWidth = 16, 20, 24, 810
11221122
local changeList = { }
11231123
local changeVersionHeights = { }
11241124
local changelogName = launch.devMode and "../changelog.txt" or "changelog.txt"
@@ -1133,6 +1133,8 @@ function main:OpenAboutPopup(helpSectionIndex)
11331133
end
11341134
t_insert(changeVersionHeights, #changeList * textSize)
11351135
t_insert(changeList, { height = titleSize, "^7Version "..ver.." ("..date..")" })
1136+
elseif line:match("^---") then
1137+
t_insert(changeList, { height = subTitleSize, "^7"..line })
11361138
else
11371139
t_insert(changeList, { height = textSize, "^7"..line })
11381140
end

0 commit comments

Comments
 (0)