Adjust border

This commit is contained in:
cutefishd 2021-04-16 00:03:04 +08:00
parent 4b1f86f9d0
commit 6b0b576afd
2 changed files with 5 additions and 3 deletions

View file

@ -61,7 +61,8 @@ Item {
radius: windowRadius
visible: windowRadius
border.width: 1
border.color: Qt.rgba(0, 0, 0, 0.2)
border.color: Qt.rgba(0, 0, 0, 1)
opacity: FishUI.Theme.darkMode ? 0.3 : 0.1
antialiasing: true
smooth: true
}
@ -73,7 +74,8 @@ Item {
visible: windowRadius
color: "transparent"
border.width: 1
border.color: Qt.rgba(255, 255, 255, 0.2)
border.color: Qt.rgba(255, 255, 255, 1)
opacity: FishUI.Theme.darkMode ? 0.3 : 0.1
antialiasing: true
smooth: true
}

View file

@ -28,7 +28,7 @@
int main(int argc, char *argv[])
{
QApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
QApplication app(argc, argv);
qmlRegisterType<DockSettings>("Cutefish.Dock", 1, 0, "DockSettings");