Fixed spec icons with Alpha offset; attribute_string now parented to baseframe

This commit is contained in:
Tercio Jose
2022-05-05 18:29:49 -03:00
parent 7fddbdd542
commit eceb99bbf2
2 changed files with 2 additions and 1 deletions
+2 -1
View File
@@ -7949,7 +7949,8 @@ function _detalhes:AttributeMenu (enabled, pos_x, pos_y, font, size, color, side
if (not self.menu_attribute_string) then
local label = gump:NewLabel (self.floatingframe, nil, "DetailsAttributeStringInstance" .. self.meu_id, nil, "", "GameFontHighlightSmall")
--local label = gump:NewLabel (self.floatingframe, nil, "DetailsAttributeStringInstance" .. self.meu_id, nil, "", "GameFontHighlightSmall")
local label = gump:NewLabel (self.baseframe, nil, "DetailsAttributeStringInstance" .. self.meu_id, nil, "", "GameFontHighlightSmall")
self.menu_attribute_string = label
self.menu_attribute_string.text = _detalhes:GetSubAttributeName (self.atributo, self.sub_atributo)
self.menu_attribute_string.owner_instance = self
Binary file not shown.

Before

Width:  |  Height:  |  Size: 490 KiB

After

Width:  |  Height:  |  Size: 1.0 MiB