File tree Expand file tree Collapse file tree 3 files changed +36
-6
lines changed
Expand file tree Collapse file tree 3 files changed +36
-6
lines changed Original file line number Diff line number Diff line change @@ -30,8 +30,18 @@ local function Reset(self) -- luacheck: ignore 432
3030 local offset = PlexusFrame .db .profile .ExtraBarBorderSize + 1
3131 local side = profile .ExtraBarSide
3232 local enableExtraBar = profile .enableExtraBar
33- local extraBarSizeModW = side == " Left" or side == " Right" and enableExtraBar and profile .ExtraBarSize * 100 or 0
34- local extraBarSizeModH = side == " Top" or side == " Bottom" and enableExtraBar and profile .ExtraBarSize * 100 or 0
33+ local extraBarSizeModW -- = (side == "Left" or side == "Right" and enableExtraBar and profile.ExtraBarSize * 100) or 0
34+ if enableExtraBar and side == " Left" or side == " Right" then
35+ extraBarSizeModW = profile .ExtraBarSize * 100
36+ else
37+ extraBarSizeModW = 0
38+ end
39+ local extraBarSizeModH -- = (side == "Top" or side == "Bottom" and enableExtraBar and profile.ExtraBarSize * 100) or 0
40+ if enableExtraBar and side == " Top" or side == " Bottom" then
41+ extraBarSizeModH = profile .ExtraBarSize * 100
42+ else
43+ extraBarSizeModH = 0
44+ end
3545
3646 self :SetParent (healthBar )
3747 self :ClearAllPoints ()
Original file line number Diff line number Diff line change @@ -30,8 +30,18 @@ local function Reset(self) -- luacheck: ignore 432
3030 local offset = PlexusFrame .db .profile .ExtraBarBorderSize + 1
3131 local side = profile .ExtraBarSide
3232 local enableExtraBar = profile .enableExtraBar
33- local extraBarSizeModW = side == " Left" or side == " Right" and enableExtraBar and profile .ExtraBarSize * 100 or 0
34- local extraBarSizeModH = side == " Top" or side == " Bottom" and enableExtraBar and profile .ExtraBarSize * 100 or 0
33+ local extraBarSizeModW -- = (side == "Left" or side == "Right" and enableExtraBar and profile.ExtraBarSize * 100) or 0
34+ if enableExtraBar and side == " Left" or side == " Right" then
35+ extraBarSizeModW = profile .ExtraBarSize * 100
36+ else
37+ extraBarSizeModW = 0
38+ end
39+ local extraBarSizeModH -- = (side == "Top" or side == "Bottom" and enableExtraBar and profile.ExtraBarSize * 100) or 0
40+ if enableExtraBar and side == " Top" or side == " Bottom" then
41+ extraBarSizeModH = profile .ExtraBarSize * 100
42+ else
43+ extraBarSizeModH = 0
44+ end
3545
3646 self :SetParent (healthBar )
3747 self :ClearAllPoints ()
Original file line number Diff line number Diff line change @@ -30,8 +30,18 @@ local function Reset(self) -- luacheck: ignore 432
3030 local offset = PlexusFrame .db .profile .ExtraBarBorderSize + 1
3131 local side = profile .ExtraBarSide
3232 local enableExtraBar = profile .enableExtraBar
33- local extraBarSizeModW = side == " Left" or side == " Right" and enableExtraBar and profile .ExtraBarSize * 100 or 0
34- local extraBarSizeModH = side == " Top" or side == " Bottom" and enableExtraBar and profile .ExtraBarSize * 100 or 0
33+ local extraBarSizeModW -- = (side == "Left" or side == "Right" and enableExtraBar and profile.ExtraBarSize * 100) or 0
34+ if enableExtraBar and side == " Left" or side == " Right" then
35+ extraBarSizeModW = profile .ExtraBarSize * 100
36+ else
37+ extraBarSizeModW = 0
38+ end
39+ local extraBarSizeModH -- = (side == "Top" or side == "Bottom" and enableExtraBar and profile.ExtraBarSize * 100) or 0
40+ if enableExtraBar and side == " Top" or side == " Bottom" then
41+ extraBarSizeModH = profile .ExtraBarSize * 100
42+ else
43+ extraBarSizeModH = 0
44+ end
3545
3646 self :SetParent (healthBar )
3747 self :ClearAllPoints ()
You can’t perform that action at this time.
0 commit comments