[GRASS-git] [OSGeo/grass] 1d2e13: d.legend: Fix position of units and background (#1...
Vaclav Petras
noreply at github.com
Wed Nov 18 12:56:45 PST 2020
Branch: refs/heads/releasebranch_7_8
Home: https://github.com/OSGeo/grass
Commit: 1d2e13b93b2db0d918549502f1746e3ba28513ce
https://github.com/OSGeo/grass/commit/1d2e13b93b2db0d918549502f1746e3ba28513ce
Author: Vaclav Petras <wenzeslaus at gmail.com>
Date: 2020-11-18 (Wed, 18 Nov 2020)
Changed paths:
M display/d.legend/draw.c
Log Message:
-----------
d.legend: Fix position of units and background (#1075)
Do the same for units from metadata (r.info, r.support units=, aka units_bottom)
as for the title, i.e., use the same computation. Use of the right variables
(not title or (the other) units). Use the same check already used for title
for the units too when drawing the background.
(This is applicable only to the do_smooth if statement branch,
not the non FP, no smoothing branch in the code.)
More information about the grass-commit
mailing list