[the-board: 10/10] [ui] Update dragArea on ensureDragArea
- From: Lucas Rocha <lucasr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [the-board: 10/10] [ui] Update dragArea on ensureDragArea
- Date: Tue, 25 Jan 2011 22:40:36 +0000 (UTC)
commit 03efe3eb43ab3a440fcb699be4604962e1b59db8
Author: Lucas Rocha <lucasr gnome org>
Date: Tue Jan 25 22:30:49 2011 +0000
[ui] Update dragArea on ensureDragArea
To avoid using outdated drag area if dragging a single thing after
having dragged a bunch of selected things.
src/js/ui/page.js | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/js/ui/page.js b/src/js/ui/page.js
index f5fdfbc..debcce6 100644
--- a/src/js/ui/page.js
+++ b/src/js/ui/page.js
@@ -434,6 +434,8 @@ Page.prototype = {
},
_ensureDragArea : function(draggedThing) {
+ this._updateDragArea();
+
if (!this._dragArea) {
this._dragArea = draggedThing.area;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]