[ui] simplify remote update dialog layout

This commit is contained in:
dijunkun
2026-10-19 01:58:54 +08:00
parent d8fe1053c2
commit c8d03d9a5e
2 changed files with 6 additions and 17 deletions
+1 -1
View File
@@ -1219,7 +1219,7 @@ int main() {
stream->set_remote_update_visible(true);
const auto notice_button = slint::LogicalPosition(slint::Point<float>{
816.0f, stream->get_video_area_top() + notice_y - 24.0f + 158.0f});
764.0f, stream->get_video_area_top() + notice_y - 24.0f + 124.0f});
stream->window().dispatch_pointer_press_event(
notice_button, slint::PointerEventButton::Left);
stream->window().dispatch_pointer_release_event(