[Kst] kdeextragear-2/kst/kst
C. Barth Netterfield
netterfield at physics.utoronto.ca
Wed Jan 28 05:53:07 CET 2004
Interesting change.
The previous rule, which was intentional, was that all tied plots reflected
the zoom of the current plot, even if the current plot wasn't tied.
I'm not sure if this change will be nice, or annoying.... Have to play around
with it a bit I guess.
cbn
On Tuesday 27 January 2004 10:55 pm, George Staikos wrote:
> CVS commit by staikos:
>
> did tied zoom ever work properly? This makes it zoom the proper graphs
>
>
> M +3 -3 kstview.cpp 1.77
>
>
> --- kdeextragear-2/kst/kst/kstview.cpp #1.76:1.77
> @@ -806,5 +806,5 @@ void KstView::mouseReleaseEvent(QMouseEv
> for (i_plot = 0; i_plot < count; i_plot++) {
> iplot = KST::plotList.at(i_plot);
> - if (plot == iplot || iplot->isTied()) {
> + if (plot == iplot || (iplot->isTied() && plot->isTied())) {
> iplot->setXScaleMode(FIXED);
> iplot->setYScaleMode(FIXED);
> @@ -832,5 +832,5 @@ void KstView::mouseReleaseEvent(QMouseEv
> for (i_plot = 0; i_plot < count; i_plot++) {
> iplot = KST::plotList.at(i_plot);
> - if (plot == iplot || iplot->isTied()) {
> + if (plot == iplot || (iplot->isTied() && plot->isTied())) {
> iplot->setYScaleMode(FIXED);
> iplot->setLYScale(new_ymin, new_ymax);
> @@ -858,5 +858,5 @@ void KstView::mouseReleaseEvent(QMouseEv
> for (i_plot = 0; i_plot < count; i_plot++) {
> iplot = KST::plotList.at(i_plot);
> - if (plot == iplot || iplot->isTied()) {
> + if (plot == iplot || (iplot->isTied() && plot->isTied())) {
> iplot->setXScaleMode(FIXED);
> iplot->setLXScale(new_xmin, new_xmax);
>
>
> _______________________________________________
> Kst mailing list
> Kst at kde.org
> https://mail.kde.org/mailman/listinfo/kst
More information about the Kst
mailing list