darken a bit less much
This commit is contained in:
parent
e9d1709015
commit
7e09f37bf0
1 changed files with 1 additions and 1 deletions
|
@ -234,7 +234,7 @@ class SVGEngine(RenderEngine):
|
||||||
|
|
||||||
def darken(self, area, much=False):
|
def darken(self, area, much=False):
|
||||||
if area:
|
if area:
|
||||||
self.add_geometry(geometry=area, fill=FillAttribs('#000000', 0.5 if much else 0.1), category='darken')
|
self.add_geometry(geometry=area, fill=FillAttribs('#000000', 0.4 if much else 0.1), category='darken')
|
||||||
|
|
||||||
def _add_geometry(self, geometry, fill: Optional[FillAttribs], stroke: Optional[StrokeAttribs],
|
def _add_geometry(self, geometry, fill: Optional[FillAttribs], stroke: Optional[StrokeAttribs],
|
||||||
altitude=None, height=None, shadow_color=None, shape_cache_key=None, **kwargs):
|
altitude=None, height=None, shadow_color=None, shape_cache_key=None, **kwargs):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue