You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-22 15:06:45 +00:00
Asset Library: Scroll up the ScrollContainer after page load
(cherry picked from commit 0e4f2ca860)
This commit is contained in:
committed by
Rémi Verschelde
parent
ab4423e7ad
commit
8ad61f6669
@@ -1226,6 +1226,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);
|
_request_image(item->get_instance_id(), r["icon_url"], IMAGE_QUEUE_ICON, 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!result.empty()) {
|
||||||
|
library_scroll->set_v_scroll(0);
|
||||||
|
}
|
||||||
} break;
|
} break;
|
||||||
case REQUESTING_ASSET: {
|
case REQUESTING_ASSET: {
|
||||||
Dictionary r = d;
|
Dictionary r = d;
|
||||||
|
|||||||
Reference in New Issue
Block a user