[Pkg-privacy-commits] [tails-installer] 16/27: Make the transparent button look a bit better

Intrigeri intrigeri at moszumanska.debian.org
Wed May 24 15:26:59 UTC 2017


This is an automated email from the git hooks/post-receive script.

intrigeri pushed a commit to tag 3.91.0
in repository tails-installer.

commit 57eb10f7093cae3769718bd0ed72378e0b220cd9
Author: Martin Briza <mbriza at redhat.com>
Date:   Fri Mar 11 11:34:09 2016 +0100

    Make the transparent button look a bit better
---
 liveusb/components/AdwaitaButton.qml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/liveusb/components/AdwaitaButton.qml b/liveusb/components/AdwaitaButton.qml
index 18bf8a1..dd4850b 100644
--- a/liveusb/components/AdwaitaButton.qml
+++ b/liveusb/components/AdwaitaButton.qml
@@ -10,7 +10,7 @@ Button {
     style: ButtonStyle {
         background: AdwaitaRectangle {
             color: root.color
-            border.color: control.enabled ? "#777777" : "#c2c2c2"
+            border.color: Qt.colorEqual(root.color, "transparent") ? "#212121" : control.enabled ? "#777777" : "#c2c2c2"
         }
         label: Item {
             implicitWidth: labelText.width + $(16)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/tails-installer.git



More information about the Pkg-privacy-commits mailing list