From 3f40b9ca006e01f6b844c75b47a40f71e2e093e2 Mon Sep 17 00:00:00 2001 From: rekols Date: Wed, 2 Jun 2021 14:16:52 +0800 Subject: [PATCH] Remove the border line --- images/rocket.svg | 11 +++++------ qml/main.qml | 14 ++------------ 2 files changed, 7 insertions(+), 18 deletions(-) mode change 100644 => 100755 images/rocket.svg diff --git a/images/rocket.svg b/images/rocket.svg old mode 100644 new mode 100755 index 5d35bb7..6be3f25 --- a/images/rocket.svg +++ b/images/rocket.svg @@ -12,7 +12,7 @@ height="64" version="1.1" id="svg16" - sodipodi:docname="rocket.svg" + sodipodi:docname="preferences-system.svg" inkscape:version="1.0.2 (e86c870879, 2021-01-15)"> @@ -22,7 +22,6 @@ image/svg+xml - @@ -36,12 +35,12 @@ inkscape:pageopacity="0" inkscape:pageshadow="2" inkscape:window-width="2160" - inkscape:window-height="1247" + inkscape:window-height="1258" id="namedview18" showgrid="false" inkscape:zoom="11.484375" - inkscape:cx="-2.1768707" - inkscape:cy="32" + inkscape:cx="-17.986234" + inkscape:cy="24.26974" inkscape:window-x="0" inkscape:window-y="35" inkscape:window-maximized="1" @@ -102,6 +101,6 @@ diff --git a/qml/main.qml b/qml/main.qml index 3442aa5..fd7b4f1 100644 --- a/qml/main.qml +++ b/qml/main.qml @@ -43,8 +43,8 @@ Item { anchors.fill: parent border.width: 0 radius: windowRadius - color: FishUI.Theme.backgroundColor - opacity: FishUI.Theme.darkMode ? 0.3 : 0.4 + color: FishUI.Theme.darkMode ? "#5E5E5E" : "#FFFFFF" + opacity: FishUI.Theme.darkMode ? 0.5 : 0.4 Behavior on color { ColorAnimation { @@ -54,16 +54,6 @@ Item { } } - Rectangle { - anchors.fill: parent - color: "transparent" - radius: windowRadius - border.width: 1 - border.color: FishUI.Theme.darkMode ? Qt.rgba(255, 255, 255, 0.3) : Qt.rgba(0, 0, 0, 0.1) - antialiasing: true - smooth: true - } - FishUI.WindowShadow { view: mainWindow geometry: Qt.rect(root.x, root.y, root.width, root.height)