17 lines
672 B
Lua
17 lines
672 B
Lua
do
|
|||
|
|
if not _G.__gacSidebarGeometry1 then
|
||
|
|
local page=_G.__gacWarpCreateTrace1 and _G.__gacWarpCreateTrace1.page
|
||
|
|
if page then
|
||
|
|
_G.__gacSidebarGeometry1=true
|
||
|
|
for _,tab in pairs(page._gacha_tab_items or {})do
|
||
|
|
local b=tab._tab_button_panel and tab._tab_button_panel._binder
|
||
|
|
if b then
|
||
|
|
for _,key in ipairs({'img_selected_icon','img_unselected_icon'})do
|
||
|
|
local image=b[key];local r=image.rectTransform
|
||
|
|
CS.UnityEngine.Debug.Log('[GAC_SIDEBAR_GEOMETRY] pool='..tab._gacha_pool_data.GachaID..' '..key..' rect='..tostring(r.rect)..' parent='..tostring(r.parent.rect)..' aspect='..tostring(image.preserveAspect))
|
||
|
|
end
|
||
|
|
end
|
||
|
|
end
|
||
|
|
end
|
||
|
|
end
|
||
|
|
end
|