Fill position scale to the very end

This commit is contained in:
Rafostar
2020-10-15 20:15:56 +02:00
parent 04abecf511
commit 6f2ec62515

View File

@@ -372,7 +372,7 @@ class ClapperInterface extends Gtk.Grid
? 1
: duration / 100;
this.controls.positionAdjustment.set_upper(duration);
this.controls.positionAdjustment.set_upper(Math.floor(duration));
this.controls.positionAdjustment.set_step_increment(increment);
this.controls.positionAdjustment.set_page_increment(increment);