fix(frontend):modify the position of the search's main window on the screen.

This commit is contained in:
JunjieBai 2023-08-25 14:31:51 +08:00
parent 13b9eaa25f
commit d3375fa031
1 changed files with 1 additions and 1 deletions

View File

@ -280,7 +280,7 @@ void MainWindow::centerToScreen(QWidget* widget) {
int x = widget->width();
widget->show();
kdk::WindowManager::setGeometry(this->windowHandle(),QRect(desk_x / 2 - x / 2 + desk_rect.left(),
desk_y / 3 + desk_rect.top(),
desk_y / 6 + desk_rect.top(),
this->width(),
this->height()));
//设置跳过多任务视图