Skip to content

Commit f110358

Browse files
Fixed bug in timer locking on init
Also now ships with Minimalist texture as standard for progress bar texture
1 parent fea8718 commit f110358

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

Media/Textures/Minimalist.tga

1.25 KB
Binary file not shown.

config_presets.lua

+3-3
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ ST.bar_defaults = {
3939
scale = 1,
4040

4141
-- Timer bar appearance
42-
bar_texture_key = "Solid",
42+
bar_texture_key = "Minimalist",
4343
bar_color_default = {5, 71, 176, 0.6},
4444

4545
-- Background and border appearance
@@ -214,7 +214,7 @@ ST.PALADIN.defaults = {
214214

215215
use_seal_colors = true,
216216
soc_color = {47, 128, 10, 1.0},
217-
sov_color = {120, 81, 12, 1.0},
217+
sov_color = {192, 60, 38, 1.0},
218218
sol_color = {6, 140, 104, 1.0},
219219
sow_color = {22, 100, 117, 1.0},
220220
sor_color = {95, 47, 112, 1.0},
@@ -230,7 +230,7 @@ ST.PALADIN.defaults = {
230230
['**'] = ST.bar_defaults,
231231
mainhand = {
232232

233-
bar_color_default = {150, 18, 97, 0.9},
233+
-- bar_color_default = {150, 18, 97, 0.9},
234234

235235
enable_deadzone = true,
236236
gcd1a_marker_mode = "phys",

main.lua

+4-1
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,9 @@ function ST:OnInitialize()
199199
LSM:Register(
200200
"font", "Expressway", [[Interface\Addons\SwedgeTimer\Media\Fonts\Expressway.ttf]]
201201
)
202+
LSM:Register(
203+
"statusbar", "Minimalist", [[Interface\Addons\SwedgeTimer\Media\Textures\Minimalist.tga]]
204+
)
202205

203206
-- Addon database
204207
local SwedgeTimerDB = LibStub("AceDB-3.0"):New(addon_name.."DB", self.defaults, true)
@@ -440,7 +443,7 @@ function ST:post_init()
440443

441444
-- Set frames to locked or unlocked based on settings.
442445
local db_class = self:get_class_table()
443-
if db_class.bars_locked then
446+
if db_class.timers_locked then
444447
self:lock_frames()
445448
else
446449
self:unlock_frames()

0 commit comments

Comments
 (0)