Skip to content

[GREENFOOT-835] Greenfoot.delay() forcing repaint

In Greenfoot 3.6.0, calling Greenfoot.delay() forces a repaint, even if the absolute delay time would be very small (e.g. a few microseconds) because the speed is set to high. We shouldn't need to repaint if there was a recent repaint and the absolute time of the delay is small enough that we'll be back soon to do a further paint.

This is a regression from earlier Greenfoot versions which didn't force a repaint on every delay() call.


Issue metadata

  • Issue type: Bug
  • Priority: Medium
  • Fix versions: 3.6.1