• Benjamin Otte's avatar
    progresstracker: Don't hand out NaN · efaa6524
    Benjamin Otte authored
    When the duration is set to 0, clamp it to 1us. This way we're almost
    correct: We should really instantly finish, but we don't. But we do
    respect the delay.
    
    Doing this properly would require some refactoring of how the progress
    tracker actually maintains progress, and this is just a quick fix.
    efaa6524
gtkprogresstracker.c 7.78 KB