Skip to content

Commit 428924c

Browse files
committed
popupMenu.js: In PopupSliderMenuItem, only clicks on the slider
itself should affect the position. ref: #13054
1 parent c42e4d9 commit 428924c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

js/ui/popupMenu.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -671,8 +671,8 @@ var PopupSliderMenuItem = class PopupSliderMenuItem extends PopupBaseMenuItem {
671671
this._slider = new St.DrawingArea({ style_class: 'popup-slider-menu-item', reactive: true });
672672
this.addActor(this._slider, { span: -1, expand: true });
673673
this._signals.connect(this._slider, 'repaint', Lang.bind(this, this._sliderRepaint));
674-
this._signals.connect(this.actor, 'button-press-event', Lang.bind(this, this._startDragging));
675-
this._signals.connect(this.actor, 'scroll-event', Lang.bind(this, this._onScrollEvent));
674+
this._signals.connect(this._slider, 'button-press-event', Lang.bind(this, this._startDragging));
675+
this._signals.connect(this._slider, 'scroll-event', Lang.bind(this, this._onScrollEvent));
676676

677677
this._releaseId = this._motionId = 0;
678678
this._dragging = false;

0 commit comments

Comments
 (0)