Browse Source

reset initial fraction for infinitive progressbar

PHP-GTK3
yggverse 4 months ago
parent
commit
b33f35b3d2
  1. 3
      src/Entity/Browser/Container/Page/Progressbar.php

3
src/Entity/Browser/Container/Page/Progressbar.php

@ -67,6 +67,9 @@ class Progressbar @@ -67,6 +67,9 @@ class Progressbar
// Activate iterator
$this->_active = true;
// Reset initial progress
$this->gtk->set_fraction(0);
// Begin iterator
\Gtk::timeout_add(
$timeout,

Loading…
Cancel
Save