sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jso...@apache.org
Subject [sis] branch geoapi-4.0 updated: Portrayal: change default MapLayer opacity to one
Date Mon, 25 Jan 2021 11:23:18 GMT
This is an automated email from the ASF dual-hosted git repository.

jsorel pushed a commit to branch geoapi-4.0
in repository https://gitbox.apache.org/repos/asf/sis.git


The following commit(s) were added to refs/heads/geoapi-4.0 by this push:
     new 191b251  Portrayal: change default MapLayer opacity to one
191b251 is described below

commit 191b2517d544e6060d9dd72da94871f38e9edd25
Author: jsorel <johann.sorel@geomatys.com>
AuthorDate: Mon Jan 25 12:22:41 2021 +0100

    Portrayal: change default MapLayer opacity to one
---
 core/sis-portrayal/src/main/java/org/apache/sis/portrayal/MapLayer.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/sis-portrayal/src/main/java/org/apache/sis/portrayal/MapLayer.java b/core/sis-portrayal/src/main/java/org/apache/sis/portrayal/MapLayer.java
index e243e10..0e5eb59 100644
--- a/core/sis-portrayal/src/main/java/org/apache/sis/portrayal/MapLayer.java
+++ b/core/sis-portrayal/src/main/java/org/apache/sis/portrayal/MapLayer.java
@@ -116,7 +116,7 @@ public class MapLayer extends MapItem {
      * @see #OPACITY_PROPERTY
      * @see #getOpacity()
      */
-    private double opacity;
+    private double opacity = 1.0;
 
     /**
      * Constructs an initially empty map layer.


Mime
View raw message