[gnome-maps] printLayout: Use same route color as MapView



commit b55ff9ac7ea1b9c6482bf7dd0ddbe310f255ac9f
Author: Marcus Lundblad <ml update uu se>
Date:   Thu Mar 28 21:16:54 2019 +0100

    printLayout: Use same route color as MapView
    
    Use the same color (with full opacity) when rendering
    turn-by-turn routes for printing as is used in the
    regular map view.
    
    Fixes #166

 src/printLayout.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/printLayout.js b/src/printLayout.js
index d91d289..5602612 100644
--- a/src/printLayout.js
+++ b/src/printLayout.js
@@ -39,7 +39,7 @@ const _SHORT_LAYOUT_MAX_DISTANCE = 3000;
 const _STROKE_COLOR = new Clutter.Color({ red: 0,
                                           blue: 255,
                                           green: 0,
-                                          alpha: 100 });
+                                          alpha: 255 });
 const _STROKE_WIDTH = 5.0;
 
 /* All following constants are ratios of surface size to page size */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]