[Pkg-privacy-commits] [tails-installer] 08/21: Make the scaling	factor only >= 1
    Intrigeri 
    intrigeri at moszumanska.debian.org
       
    Wed May 24 15:27:26 UTC 2017
    
    
  
This is an automated email from the git hooks/post-receive script.
intrigeri pushed a commit to tag 3.93.0
in repository tails-installer.
commit 5a1cf8f32cc2fb8e15a5dd96013f0eddd444028f
Author: Martin Briza <mbriza at redhat.com>
Date:   Mon Apr 18 10:36:31 2016 +0200
    Make the scaling factor only >= 1
---
 liveusb/liveusb.qml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/liveusb/liveusb.qml b/liveusb/liveusb.qml
index 7db274d..54afb93 100644
--- a/liveusb/liveusb.qml
+++ b/liveusb/liveusb.qml
@@ -19,7 +19,7 @@ ApplicationWindow {
         id: palette
     }
 
-    property real scalingFactor: Math.ceil(Screen.pixelDensity * 25.4) / 96
+    property real scalingFactor: Math.ceil(Screen.pixelDensity * 25.4) / 96 > 1 ? Math.ceil(Screen.pixelDensity * 25.4) / 96 : 1
     function $(x) {
         return x * scalingFactor
     }
-- 
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