mirror of
https://github.com/godotengine/godot.git
synced 2024-11-27 09:16:35 +08:00
Asset Library: Scroll up the ScrollContainer after page load
This commit is contained in:
parent
cf62289d24
commit
0e4f2ca860
@ -1187,6 +1187,10 @@ void EditorAssetLibrary::_http_request_completed(int p_status, int p_code, const
|
||||
_request_image(item->get_instance_id(), r["icon_url"], IMAGE_QUEUE_ICON, 0);
|
||||
}
|
||||
}
|
||||
|
||||
if (!result.empty()) {
|
||||
library_scroll->set_v_scroll(0);
|
||||
}
|
||||
} break;
|
||||
case REQUESTING_ASSET: {
|
||||
Dictionary r = d;
|
||||
|
Loading…
Reference in New Issue
Block a user