Skip to content

Commit

Permalink
bump version to 7
Browse files Browse the repository at this point in the history
  • Loading branch information
Krealle committed Sep 27, 2024
1 parent 1414b37 commit af23df8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Core/Init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
local CUF = select(2, ...)
_G.CUF = CUF

CUF.version = 6
CUF.version = 7

CUF.Cell = Cell

Expand Down
2 changes: 2 additions & 0 deletions Data/Revise.lua
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ function DB:Revise()
if CUF_DB.version < 7 then
IterateUnitLayouts(function(layout)
if not layout.widgets.healthText then return end
if layout.widgets.healthText.hideIfEmptyOrFull == nil then return end

local hideIfEmptyOrFull = layout.widgets.healthText.hideIfEmptyOrFull
layout.widgets.healthText.hideIfFull = hideIfEmptyOrFull
layout.widgets.healthText.hideIfEmpty = hideIfEmptyOrFull
Expand Down

0 comments on commit af23df8

Please sign in to comment.