Skip to content

Commit

Permalink
Remove unnecessary set_value call
Browse files Browse the repository at this point in the history
Fixes #88
  • Loading branch information
johnfactotum committed Jun 28, 2019
1 parent e57c8ad commit 075337c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 075337c

Please sign in to comment.