- Fixed spell container :ListActors() API.
- Finished revamp on the avoidance tab. - Added Details:RemoveOwnerName(petName)
This commit is contained in:
+4
-3
@@ -1317,9 +1317,10 @@ function _G._detalhes:Start()
|
||||
if (instance:IsEnabled()) then
|
||||
local lineHeight = instance.row_info.height
|
||||
local textSize = instance.row_info.font_size
|
||||
if (lineHeight <= textSize) then
|
||||
instance.row_info.height = textSize + 2
|
||||
instance.row_info.font_size = textSize - 1
|
||||
if (lineHeight-1 <= textSize) then
|
||||
instance.row_info.height = 21
|
||||
instance.row_info.font_size = 16
|
||||
instance:ChangeSkin()
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user