mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-10-26 20:25:34 +08:00
[feat] use a list to show thumbnails of recent connections
This commit is contained in:
@@ -912,7 +912,7 @@ int Render::Run() {
|
||||
uint32_t now_time = SDL_GetTicks();
|
||||
if (now_time - recent_connection_image_save_time_ >= 1000) {
|
||||
int ret = thumbnail_.LoadThumbnail(
|
||||
main_renderer_, &recent_connection_texture_,
|
||||
main_renderer_, recent_connection_textures_,
|
||||
&recent_connection_image_width_, &recent_connection_image_height_);
|
||||
if (!ret) {
|
||||
LOG_INFO("Load recent connection thumbnails");
|
||||
|
||||
Reference in New Issue
Block a user