File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Rebirth/BGAnimations/playerInfoFrame Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -587,10 +587,10 @@ local function assetList()
587587 self :GetChild (" SelectedAssetIndicator" ):playcommand (" Set" )
588588 if i == curIndex then
589589 self :GetChild (" Image" ):finishtweening ()
590- self :GetChild (" Border" ):zoomto (assetHeight + 12 ,assetWidth + 12 )
590+ self :GetChild (" Border" ):zoomto (assetWidth + 12 ,assetWidth + 12 )
591591 self :GetChild (" Border" ):diffuse (COLORS :getColor (" assetSettings" , " HoveredItem" )):diffusealpha (0.8 )
592592 else
593- self :GetChild (" Border" ):zoomto (assetHeight + 4 ,assetWidth + 4 )
593+ self :GetChild (" Border" ):zoomto (assetWidth + 4 ,assetHeight + 4 )
594594 self :GetChild (" Border" ):diffuse (COLORS :getColor (" assetSettings" , " HoveredItem" )):diffusealpha (0 )
595595 end
596596
Original file line number Diff line number Diff line change @@ -339,12 +339,12 @@ local function assetBox(i)
339339 self :GetChild (" SelectedAssetIndicator" ):playcommand (" Set" )
340340 if i == curIndex then
341341 self :GetChild (" Image" ):finishtweening ()
342- self :GetChild (" Image" ):zoomto (assetHeight + 8 ,assetWidth + 8 )
343- self :GetChild (" Border" ):zoomto (assetHeight + 12 ,assetWidth + 12 )
342+ self :GetChild (" Image" ):zoomto (assetWidth + 8 ,assetHeight + 8 )
343+ self :GetChild (" Border" ):zoomto (assetWidth + 12 ,assetHeight + 12 )
344344 self :GetChild (" Border" ):diffuse (getMainColor (" highlight" )):diffusealpha (0.8 )
345345 else
346- self :GetChild (" Image" ):zoomto (assetHeight , assetWidth )
347- self :GetChild (" Border" ):zoomto (assetHeight + 4 ,assetWidth + 4 )
346+ self :GetChild (" Image" ):zoomto (assetWidth , assetHeight )
347+ self :GetChild (" Border" ):zoomto (assetWidth + 4 ,assetHeight + 4 )
348348 self :GetChild (" Border" ):diffuse (getMainColor (" positive" )):diffusealpha (0 )
349349 end
350350
You can’t perform that action at this time.
0 commit comments