skinsdb API update

This commit is contained in:
Alexander Weber 2017-06-21 20:20:34 +02:00
parent cfba2ca7bb
commit 4240d1d0f8

View File

@ -169,7 +169,7 @@ local function update_page(state)
is_button = true,
size = { w = 0.87, h = 1.30 }
})
if not state.param.skins_initial_page_adjusted and skin:get_meta("_key") == cur_skin:get_meta("_key") then
if not state.param.skins_initial_page_adjusted and skin:get_key() == cur_skin:get_key() then
grid_skins:setFirstVisible(idx - 19) --8x5 (grid size) / 2 -1
state.param.skins_initial_page_adjusted = true
end