From 075337c283bef4f5c8310f9cff29565ead464339 Mon Sep 17 00:00:00 2001 From: John Factotum <50942278+johnfactotum@users.noreply.github.com> Date: Sat, 29 Jun 2019 07:05:14 +0800 Subject: [PATCH] Remove unnecessary set_value call Fixes #88 --- src/main.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main.js b/src/main.js index d933a302..62cbd562 100644 --- a/src/main.js +++ b/src/main.js @@ -594,7 +594,6 @@ class ViewPopover { value_pos: Gtk.PositionType.RIGHT }) this._brightnessSlider.connect('format-value', (_, x) => `${Math.round(x * 100)}%`) - this._brightnessSlider.set_value(1) this._brightnessSlider.add_mark(1, Gtk.PositionType.TOP, null) this._brightnessSlider.connect('value-changed', onViewChange)