Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Protostars committed May 4, 2021
1 parent bba4775 commit a27cfff
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion UI/framelesswindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ bool CFramelessWindow::nativeEvent(const QByteArray &eventType, void *message, l

//record frame area data
double dpr = this->devicePixelRatioF();

m_frames.setLeft(abs(frame.left)/dpr+0.5);
m_frames.setTop(abs(frame.bottom)/dpr+0.5);
m_frames.setRight(abs(frame.right)/dpr+0.5);
Expand Down
7 changes: 5 additions & 2 deletions UI/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -804,11 +804,14 @@ void MainWindow::resizeEvent(QResizeEvent *)
#ifdef Q_OS_WIN
widgetTitlebar->setFixedHeight(36*logicalDpiY()/96);
#endif
QSize pageButtonSize(100*logicalDpiX()/96,30*logicalDpiY()/96);
const QSize pageButtonSize(100*logicalDpiX()/96,30*logicalDpiY()/96);
buttonPage_Play->setFixedSize(pageButtonSize);
buttonPage_Library->setFixedSize(pageButtonSize);
buttonPage_Downlaod->setFixedSize(pageButtonSize);

const QSize controlButtonSize(34*logicalDpiX()/96,32*logicalDpiY()/96);
maxButton->setMinimumSize(controlButtonSize);
minButton->setMinimumSize(controlButtonSize);
closeButton->setMinimumSize(controlButtonSize);
}

void MainWindow::showEvent(QShowEvent *)
Expand Down
Binary file modified lib/x64/libmpv.dll.lib
Binary file not shown.
2 changes: 1 addition & 1 deletion newVersion/version.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"Version":"0.8.0",
"Version":"0.8.1",
"URL":"https://pan.baidu.com/s/1gyT0FU9rioaa77znhAUx2w#list/path=%2FKikoPlay%2F0.4&parentPath=%2F"
}

0 comments on commit a27cfff

Please sign in to comment.