Skip to content

Commit 7ae2e27

Browse files
committed
White space fixes
1 parent 82b12ab commit 7ae2e27

5 files changed

Lines changed: 11 additions & 11 deletions

File tree

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ You might also want to use actboy168 debugger. This is possible by using for exa
184184
"address": "127.0.0.1:12306",
185185
"luaVersion": "luajit",
186186
},
187-
187+
188188
]
189189
}
190190
```

src/Classes/CalcsTab.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ function CalcsTabClass:CalcsTab(build)
4242
-- Special section for skill/mode selection
4343
self:NewSection(3, "SkillSelect", 1, colorCodes.NORMAL, {{ defaultCollapsed = false, label = "View Skill Details", data = {
4444
{ label = "Socket Group", { controlName = "mainSocketGroup",
45-
control = new("DropDownControl"):DropDownControl(nil, {0, 0, 300, 16}, nil, function(index, value)
45+
control = new("DropDownControl"):DropDownControl(nil, {0, 0, 300, 16}, nil, function(index, value)
4646
self.input.skill_number = index
4747
self:AddUndoState()
4848
self.build.buildFlag = true
@@ -123,8 +123,8 @@ function CalcsTabClass:CalcsTab(build)
123123
} },
124124
{ label = "Calculation Mode", {
125125
controlName = "mode",
126-
control = new("DropDownControl"):DropDownControl(nil, {0, 0, 100, 16}, buffModeDropList, function(index, value)
127-
self.input.misc_buffMode = value.buffMode
126+
control = new("DropDownControl"):DropDownControl(nil, {0, 0, 100, 16}, buffModeDropList, function(index, value)
127+
self.input.misc_buffMode = value.buffMode
128128
self:AddUndoState()
129129
self.build.buildFlag = true
130130
end, [[

src/Classes/ItemsTab.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ function ItemsTabClass:ItemsTab(build)
172172
return self.activeItemSet.useSecondWeaponSet
173173
end
174174
for i = 1, 6 do
175-
local abyssal = new("ItemSlotControl"):ItemSlotControl({"TOPLEFT",prevSlot,"BOTTOMLEFT"}, 0, 2, self, slotName.." Swap Abyssal Socket "..i, "Abyssal #"..i)
175+
local abyssal = new("ItemSlotControl"):ItemSlotControl({"TOPLEFT",prevSlot,"BOTTOMLEFT"}, 0, 2, self, slotName.." Swap Abyssal Socket "..i, "Abyssal #"..i)
176176
addSlot(abyssal)
177177
abyssal.parentSlot = swapSlot
178178
abyssal.weaponSet = 2
@@ -193,7 +193,7 @@ function ItemsTabClass:ItemsTab(build)
193193
if slotName == "Weapon 1" or slotName == "Weapon 2" or slotName == "Helmet" or slotName == "Gloves" or slotName == "Body Armour" or slotName == "Boots" or slotName == "Belt" then
194194
-- Add Abyssal Socket slots
195195
for i = 1, 6 do
196-
local abyssal = new("ItemSlotControl"):ItemSlotControl({"TOPLEFT",prevSlot,"BOTTOMLEFT"}, 0, 2, self, slotName.." Abyssal Socket "..i, "Abyssal #"..i)
196+
local abyssal = new("ItemSlotControl"):ItemSlotControl({"TOPLEFT",prevSlot,"BOTTOMLEFT"}, 0, 2, self, slotName.." Abyssal Socket "..i, "Abyssal #"..i)
197197
addSlot(abyssal)
198198
abyssal.parentSlot = slot
199199
if slotName:match("Weapon") then
@@ -322,7 +322,7 @@ function ItemsTabClass:ItemsTab(build)
322322
self.controls.newDisplayItem = new("ButtonControl"):ButtonControl({"TOPLEFT",self.controls.craftDisplayItem,"TOPRIGHT"}, {8, 0, 120, 20}, "Create custom...", function()
323323
self:EditDisplayItemText()
324324
end)
325-
self.controls.displayItemTip = new("LabelControl"):LabelControl({"TOPLEFT",self.controls.craftDisplayItem,"BOTTOMLEFT"}, {0, 8, 100, 16},
325+
self.controls.displayItemTip = new("LabelControl"):LabelControl({"TOPLEFT",self.controls.craftDisplayItem,"BOTTOMLEFT"}, {0, 8, 100, 16},
326326
[[^7Double-click an item from one of the lists,
327327
or copy and paste an item from in game
328328
(hover over the item and Ctrl+C) to view or edit

src/Classes/PartyTab.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ function PartyTabClass:PartyTab(build)
336336
return (self.width > theme.widthThreshold1) and 0 or 24
337337
end
338338

339-
self.controls.clear = new("ButtonControl"):ButtonControl({"LEFT",self.controls.appendNotReplace,"RIGHT"}, {8, 0, 160, theme.buttonHeight}, "Clear", function()
339+
self.controls.clear = new("ButtonControl"):ButtonControl({"LEFT",self.controls.appendNotReplace,"RIGHT"}, {8, 0, 160, theme.buttonHeight}, "Clear", function()
340340
clearInputText()
341341
wipeTable(self.enemyModList)
342342
self.enemyModList = new("ModList"):ModList()
@@ -350,7 +350,7 @@ function PartyTabClass:PartyTab(build)
350350
return (self.width > theme.widthThreshold1) and 4 or 28
351351
end
352352

353-
self.controls.removeEffects = new("ButtonControl"):ButtonControl({"LEFT",self.controls.ShowAdvanceTools,"RIGHT"}, {8, 0, 160, theme.buttonHeight}, "Disable Party Effects", function()
353+
self.controls.removeEffects = new("ButtonControl"):ButtonControl({"LEFT",self.controls.ShowAdvanceTools,"RIGHT"}, {8, 0, 160, theme.buttonHeight}, "Disable Party Effects", function()
354354
wipeTable(self.actor)
355355
wipeTable(self.enemyModList)
356356
self.actor = { Aura = {}, Curse = {}, Warcry = { }, Link = {}, modDB = new("ModDB"):ModDB(), output = { } }
@@ -360,7 +360,7 @@ function PartyTabClass:PartyTab(build)
360360
end)
361361
self.controls.removeEffects.tooltipText = "^7Removes the effects of the supports, without removing the data\nUse \"rebuild all\" to apply the effects again"
362362

363-
self.controls.rebuild = new("ButtonControl"):ButtonControl({"LEFT",self.controls.removeEffects,"RIGHT"}, {8, 0, 160, theme.buttonHeight}, "^7Rebuild All", function()
363+
self.controls.rebuild = new("ButtonControl"):ButtonControl({"LEFT",self.controls.removeEffects,"RIGHT"}, {8, 0, 160, theme.buttonHeight}, "^7Rebuild All", function()
364364
wipeTable(self.actor)
365365
wipeTable(self.enemyModList)
366366
self.actor = { Aura = {}, Curse = {}, Warcry = { }, Link = {}, modDB = new("ModDB"):ModDB(), output = { } }

src/Classes/SkillsTab.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ function SkillsTabClass:SkillsTab(build)
111111

112112
-- Socket group list
113113
self.controls.groupList = new("SkillListControl"):SkillListControl({ "TOPLEFT", self, "TOPLEFT" }, { 20, 54, 360, 300 }, self)
114-
self.controls.groupTip = new("LabelControl"):LabelControl({ "TOPLEFT", self.controls.groupList, "BOTTOMLEFT" }, { 0, 8, 0, 14 },
114+
self.controls.groupTip = new("LabelControl"):LabelControl({ "TOPLEFT", self.controls.groupList, "BOTTOMLEFT" }, { 0, 8, 0, 14 },
115115
[[
116116
^7Usage Tips:
117117
- You can copy/paste socket groups using Ctrl+C and Ctrl+V.

0 commit comments

Comments
 (0)