force setting line width if window geometry changed and fixed/non variable line width was set.
This commit is contained in:
parent
bd64f86dbc
commit
4c849c44fa
|
|
@ -1684,11 +1684,11 @@ void change_linewidth(double w)
|
||||||
/* choose line width automatically based on zoom */
|
/* choose line width automatically based on zoom */
|
||||||
if(w<0.) {
|
if(w<0.) {
|
||||||
double cs;
|
double cs;
|
||||||
|
changed=1;
|
||||||
cs = tclgetdoublevar("cadsnap");
|
cs = tclgetdoublevar("cadsnap");
|
||||||
if(tclgetboolvar("change_lw")) {
|
if(tclgetboolvar("change_lw")) {
|
||||||
xctx->lw=xctx->mooz * 0.09 * cs;
|
xctx->lw=xctx->mooz * 0.09 * cs;
|
||||||
cadhalfdotsize = CADHALFDOTSIZE + 0.04 * (cs-10);
|
cadhalfdotsize = CADHALFDOTSIZE + 0.04 * (cs-10);
|
||||||
changed=1;
|
|
||||||
}
|
}
|
||||||
/* explicitly set line width */
|
/* explicitly set line width */
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue