[gnome-shell/wip/message-tray-menu: 82/109] 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/message-tray-menu: 82/109] popupMenu: Fix bubbling in the slider widget
- Date: Thu, 9 May 2013 15:43:14 +0000 (UTC)
commit d7d72de0b8d0723e3f8555f42ebeea8e4bdf9889
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 6803e11..3000509 100644
--- a/js/ui/popupMenu.js
+++ b/js/ui/popupMenu.js
@@ -612,7 +612,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;
@@ -625,6 +625,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]