[xiph-commits] r12275 - trunk/sushivision
xiphmont at svn.xiph.org
xiphmont at svn.xiph.org
Sun Dec 31 13:19:25 PST 2006
Author: xiphmont
Date: 2006-12-31 13:19:24 -0800 (Sun, 31 Dec 2006)
New Revision: 12275
Modified:
trunk/sushivision/panel-1d.c
trunk/sushivision/panel-2d.c
Log:
Correct crosshair update bug on dim change
Modified: trunk/sushivision/panel-1d.c
===================================================================
--- trunk/sushivision/panel-1d.c 2006-12-31 21:00:22 UTC (rev 12274)
+++ trunk/sushivision/panel-1d.c 2006-12-31 21:19:24 UTC (rev 12275)
@@ -556,14 +556,12 @@
if(q != p && q->type == SUSHIV_PANEL_1D){
sushiv_panel1d_t *q1 = q->subtype->p1;
if(q1->link_x == p){
- if(xflag)
- update_crosshair(q);
+ update_crosshair(q);
if(yflag)
q->private->request_compute(q);
}else{
if(q1->link_y == p){
- if(yflag)
- update_crosshair(q);
+ update_crosshair(q);
if(xflag)
q->private->request_compute(q);
}
Modified: trunk/sushivision/panel-2d.c
===================================================================
--- trunk/sushivision/panel-2d.c 2006-12-31 21:00:22 UTC (rev 12274)
+++ trunk/sushivision/panel-2d.c 2006-12-31 21:19:24 UTC (rev 12275)
@@ -610,6 +610,7 @@
}
plot_set_crosshairs(plot,x,y);
+ _sushiv_panel1d_update_linked_crosshairs(p,0,0);
update_legend(p);
}
@@ -651,9 +652,8 @@
_sushiv_panel_undo_push(p);
_sushiv_panel_undo_suspend(p);
+ plot_unset_box(PLOT(p->private->graph));
update_xy_availability(p);
- update_crosshairs(p);
- plot_unset_box(PLOT(p->private->graph));
/* if the data_rect already exists, blank it */
for(i=0;i<p->objectives;i++)
@@ -662,6 +662,7 @@
_sushiv_panel2d_map_redraw(p);
_mark_recompute_2d(p);
+ update_crosshairs(p);
_sushiv_panel_undo_resume(p);
}
More information about the commits
mailing list