mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
slider: fix wrong variable name for own actor
https://bugzilla.gnome.org/show_bug.cgi?id=706386
This commit is contained in:
parent
9720301d01
commit
3d57fd3227
1 changed files with 1 additions and 1 deletions
|
|
@ -173,7 +173,7 @@ const Slider = new Lang.Class({
|
|||
if (key == Clutter.KEY_Right || key == Clutter.KEY_Left) {
|
||||
let delta = key == Clutter.KEY_Right ? 0.1 : -0.1;
|
||||
this._value = Math.max(0, Math.min(this._value + delta, 1));
|
||||
this._slider.queue_repaint();
|
||||
this.actor.queue_repaint();
|
||||
this.emit('value-changed', this._value);
|
||||
this.emit('drag-end');
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue