mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-23 01:29:33 +00:00
minor fix: avoid repaint flicker by directly setting scroll coordinate
This commit is contained in:
parent
ad2c952810
commit
18b2392e48
@ -26,7 +26,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id: TimeLine.java,v 1.1 2009/05/04 15:38:35 fros4943 Exp $
|
||||
* $Id: TimeLine.java,v 1.2 2009/05/04 16:03:35 fros4943 Exp $
|
||||
*/
|
||||
|
||||
package se.sics.cooja.plugins;
|
||||
@ -92,6 +92,7 @@ public class TimeLine extends VisPlugin {
|
||||
if (!viewportTracking) {
|
||||
return;
|
||||
}
|
||||
viewportInfinite.x = timeline.getWidth();
|
||||
timelineScrollPane.getViewport().setViewPosition(viewportInfinite);
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user