clear text member `floater_ptr` when text is changed to force cache update
This commit is contained in:
parent
1ea0516b55
commit
9d58f8cbbc
|
|
@ -1174,6 +1174,7 @@ static int edit_text_property(int x)
|
|||
/* dbg(1, "edit_property(): text props=%s text=%s\n", tclgetvar("props"), tclgetvar("retval")); */
|
||||
if(text_changed) {
|
||||
double cg;
|
||||
my_free(_ALLOC_ID_, &xctx->text[sel].floater_ptr);
|
||||
cg = tclgetdoublevar("cadgrid");
|
||||
c = xctx->rects[PINLAYER];
|
||||
for(l=0;l<c; ++l) {
|
||||
|
|
@ -1244,7 +1245,7 @@ static int edit_text_property(int x)
|
|||
#endif
|
||||
|
||||
bbox(ADD, xx1, yy1, xx2, yy2 );
|
||||
}
|
||||
} /* for(k=0;k<xctx->lastsel; ++k) */
|
||||
bbox(SET,0.0,0.0,0.0,0.0);
|
||||
draw();
|
||||
bbox(END,0.0,0.0,0.0,0.0);
|
||||
|
|
|
|||
|
|
@ -96,9 +96,9 @@ T {actual value
|
|||
200} 860 -1280 0 0 0.4 0.4 {}
|
||||
T {Select one or more graphs (and no other objects)
|
||||
and use arrow keys to zoom / pan waveforms} 1110 -1120 0 0 0.3 0.3 {}
|
||||
T {@spice_get_voltage} 761.875 -786.09375 0 0 1 1 {layer=15
|
||||
T {@spice_get_voltage} 761.875 -786.09375 0 0 0.8 0.8 {layer=15
|
||||
floater=p9}
|
||||
T {@spice_get_voltage} 761.875 -206.09375 0 0 1 1 {layer=15
|
||||
T {@spice_get_voltage} 761.875 -206.09375 0 0 0.8 0.8 {layer=15
|
||||
floater=p14}
|
||||
N 70 -1220 70 -1200 {lab=#net1}
|
||||
N 70 -1080 70 -1060 {lab=#net2}
|
||||
|
|
|
|||
Loading…
Reference in New Issue