mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-24 17:10:36 +00:00
rogeuviz:: do not show edge weights if not requested
This commit is contained in:
parent
54f476df0d
commit
34fbe7a7bf
@ -691,7 +691,7 @@ bool drawVertex(const shiftmatrix &V, cell *c, shmup::monster *m) {
|
||||
string s;
|
||||
ld w = hi_weight;
|
||||
if(vizflags & RV_INVERSE_WEIGHT) w = 1/w;
|
||||
if(showlabels && hi_weight) s = vd.name + " : " + fts(w);
|
||||
if(showlabels && show_edges && hi_weight) s = vd.name + " : " + fts(w);
|
||||
else if(showlabels) s = vd.name;
|
||||
else if(hi_weight) s = fts(w);
|
||||
queuestr(V2, labelscale, s, forecolor, (svg::in || ISWEB) ? 0 : 1);
|
||||
|
Loading…
Reference in New Issue
Block a user