From 6f2ec625156e04acd11e5d07a3440dc7ba4d3cd4 Mon Sep 17 00:00:00 2001 From: Rafostar <40623528+Rafostar@users.noreply.github.com> Date: Thu, 15 Oct 2020 20:15:56 +0200 Subject: [PATCH] Fill position scale to the very end --- clapper_src/interface.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clapper_src/interface.js b/clapper_src/interface.js index a0187704..ebfd1cab 100644 --- a/clapper_src/interface.js +++ b/clapper_src/interface.js @@ -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);