From 337606b6e33f72a52ebc8e83b989a2fa3c920d33 Mon Sep 17 00:00:00 2001 From: cutefishd Date: Sun, 4 Apr 2021 19:02:33 +0800 Subject: [PATCH] Small improvements --- qml/DockItem.qml | 2 +- qml/main.qml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/qml/DockItem.qml b/qml/DockItem.qml index 19ffe6b..44ca58f 100644 --- a/qml/DockItem.qml +++ b/qml/DockItem.qml @@ -129,7 +129,7 @@ Item { control.mapToGlobal(0, 0).y + (control.height / 2 - popupTips.height / 2)) else popupTips.position = Qt.point(control.mapToGlobal(0, 0).x + (control.width / 2 - popupTips.width / 2), - control.mapToGlobal(0, 0).y - popupTips.height - Meui.Units.smallSpacing / 2) + control.mapToGlobal(0, 0).y - popupTips.height - Meui.Units.smallSpacing) popupTips.show() } else { diff --git a/qml/main.qml b/qml/main.qml index de96b28..c67e164 100644 --- a/qml/main.qml +++ b/qml/main.qml @@ -12,7 +12,7 @@ Item { property color borderColor: Meui.Theme.darkMode ? Qt.rgba(255, 255, 255, 0.1) : Qt.rgba(0, 0, 0, 0.05) property bool isHorizontal: Settings.direction === DockSettings.Bottom - property real windowRadius: isHorizontal ? root.height * 0.25 : root.width * 0.25 + property real windowRadius: isHorizontal ? root.height * 0.24 : root.width * 0.24 DropArea { anchors.fill: parent