force setting line width if window geometry changed and fixed/non variable line width was set.

This commit is contained in:
Stefan Frederik 2022-08-29 09:27:23 +02:00
parent bd64f86dbc
commit 4c849c44fa
1 changed files with 1 additions and 1 deletions

View File

@ -1684,11 +1684,11 @@ void change_linewidth(double w)
/* choose line width automatically based on zoom */
if(w<0.) {
double cs;
changed=1;
cs = tclgetdoublevar("cadsnap");
if(tclgetboolvar("change_lw")) {
xctx->lw=xctx->mooz * 0.09 * cs;
cadhalfdotsize = CADHALFDOTSIZE + 0.04 * (cs-10);
changed=1;
}
/* explicitly set line width */
} else {