[placeDisplay] Add missing return statements
Otherwise we get a warning.
This commit is contained in:
parent
ddfe9442fa
commit
1f274c04fb
@ -460,6 +460,7 @@ DashPlaceDisplayItem.prototype = {
|
|||||||
let [stageX, stageY] = event.get_coords();
|
let [stageX, stageY] = event.get_coords();
|
||||||
this._dragStartX = stageX;
|
this._dragStartX = stageX;
|
||||||
this._dragStartY = stageY;
|
this._dragStartY = stageY;
|
||||||
|
return false;
|
||||||
},
|
},
|
||||||
|
|
||||||
_onButtonRelease: function(actor, event) {
|
_onButtonRelease: function(actor, event) {
|
||||||
@ -468,6 +469,7 @@ DashPlaceDisplayItem.prototype = {
|
|||||||
|
|
||||||
this._dragStartX = null;
|
this._dragStartX = null;
|
||||||
this._dragStartY = null;
|
this._dragStartY = null;
|
||||||
|
return false;
|
||||||
},
|
},
|
||||||
|
|
||||||
_onHoverChanged: function(button) {
|
_onHoverChanged: function(button) {
|
||||||
|
Loading…
Reference in New Issue
Block a user