popupMenu: Fix bubbling in the slider widget

https://bugzilla.gnome.org/show_bug.cgi?id=701755
This commit is contained in:
Jasper St. Pierre 2013-02-14 17:33:48 -05:00
parent b68eb44ca5
commit cc64091f9c

View File

@ -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() {