Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit a698ec4

Browse files
committedNov 23, 2024··
Merge branch 'trunk' of github.com:qqMelon/keyroller into trunk
2 parents 2918bfb + 876fc9c commit a698ec4

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed
 

‎.github/workflows/release.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ env:
1313
jobs:
1414
release:
1515
runs-on: ubuntu-latest
16-
environment: Default
16+
permissions:
17+
contents: write
18+
environment: release
1719
steps:
1820
- name: Clone project
1921
uses: actions/checkout@v1

‎.luacheckrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ unused_args = false
44
allow_defined_top = true
55
unused = false
66
shadowing = false
7-
max_line_length = 120
7+
max_line_length = 130
88

99
exclude_files = {
1010
"KeyRoller/Libs/",

‎KeyRoller.lua

+3-1
Original file line numberDiff line numberDiff line change
@@ -112,12 +112,14 @@ local function UpdateKeyList(content)
112112
end
113113

114114
local formattedDisplay = ""
115+
local returnStr = "\n"
115116
for player, key in pairs(playerKeys) do
116117
if key.level >= minKeyLevel and key.level <= maxKeyLevel then
117118
formattedDisplay =
118-
formattedDisplay .. string.format("%s: %s +%d", player, key.dungeon, key.level) .. "\n" .. "\n"
119+
formattedDisplay .. string.format("%s: %s +%d %s %s", player, key.dungeon, key.level, returnStr, returnStr)
119120
end
120121
end
122+
text:SetJustifyH("LEFT");
121123
text:SetPoint("TOPLEFT", 0, 0)
122124
text:SetText(formattedDisplay)
123125
content:SetHeight(math.max(20, 0))

0 commit comments

Comments
 (0)
Please sign in to comment.