[gnome-shell/wip/aggregate-menu: 7/36] popupMenu: Fix bubbling in the slider widget
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/aggregate-menu: 7/36] popupMenu: Fix bubbling in the slider widget
- Date: Wed, 29 May 2013 20:16:51 +0000 (UTC)
commit bd133681aa3e377f3559f1c6a940afece01eb6e4
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Thu Feb 14 17:33:48 2013 -0500
popupMenu: Fix bubbling in the slider widget
js/ui/popupMenu.js | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/popupMenu.js b/js/ui/popupMenu.js
index 9caa5de..ba2989d 100644
--- a/js/ui/popupMenu.js
+++ b/js/ui/popupMenu.js
@@ -621,7 +621,7 @@ const PopupSliderMenuItem = new Lang.Class({
_startDragging: function(actor, event) {
if (this._dragging) // don't allow two drags at the same time
- return;
+ return false;
this._dragging = true;
@@ -634,6 +634,8 @@ const PopupSliderMenuItem = new Lang.Class({
let absX, absY;
[absX, absY] = event.get_coords();
this._moveHandle(absX, absY);
+
+ return true;
},
_endDragging: function() {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]