Changed all the "java primitive" to basic type due to casting issue, implemented...
[deliverable/tracecompass.git] / org.eclipse.linuxtools.lttng.ui / src / org / eclipse / linuxtools / lttng / ui / views / histogram / HistogramCanvasControlListener.java
index 6df72388cb35fbe58c6bdd74e1a93c8657f9992a..f361717efb8c8bb0fdd90cd83ffc41f35c88a137 100644 (file)
@@ -57,7 +57,7 @@ public class HistogramCanvasControlListener implements ControlListener {
                        //              and what it really points to. The user should reclick by himself to refresh it. 
                        int oldWindowCenter = parentCanvas.getCurrentWindow().getWindowXPositionCenter();
                        int newWindowCenter = (int)Math.ceil((double)newSize * ((double)oldWindowCenter / (double)oldSize));
-                       parentCanvas.centerWindow(newWindowCenter);
+                       parentCanvas.setWindowCenterPosition(newWindowCenter);
                }
        }
 }
This page took 0.027761 seconds and 5 git commands to generate.