popupMenu: Fix bubbling in the slider widget
https://bugzilla.gnome.org/show_bug.cgi?id=701755
This commit is contained in:
parent
b68eb44ca5
commit
cc64091f9c
@ -621,7 +621,7 @@ const PopupSliderMenuItem = new Lang.Class({
|
|||||||
|
|
||||||
_startDragging: function(actor, event) {
|
_startDragging: function(actor, event) {
|
||||||
if (this._dragging) // don't allow two drags at the same time
|
if (this._dragging) // don't allow two drags at the same time
|
||||||
return;
|
return false;
|
||||||
|
|
||||||
this._dragging = true;
|
this._dragging = true;
|
||||||
|
|
||||||
@ -634,6 +634,8 @@ const PopupSliderMenuItem = new Lang.Class({
|
|||||||
let absX, absY;
|
let absX, absY;
|
||||||
[absX, absY] = event.get_coords();
|
[absX, absY] = event.get_coords();
|
||||||
this._moveHandle(absX, absY);
|
this._moveHandle(absX, absY);
|
||||||
|
|
||||||
|
return true;
|
||||||
},
|
},
|
||||||
|
|
||||||
_endDragging: function() {
|
_endDragging: function() {
|
||||||
|
Loading…
Reference in New Issue
Block a user