Fix issue where dragging a small widget up onto a bottom corner of another widget led to persistent overlap

This commit is contained in:
Bill Schaller
2015-05-18 15:05:08 -04:00
parent d60dbd1e3e
commit 453cfaab5a
5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -2883,7 +2883,7 @@
$overlapped_widgets.each($.proxy(function (i, w) {
var $w = $(w);
if ($gr.can_go_down($w)) {
if ($gr.can_go_down($w) && $w.coords().grid.row === $gr.player_grid_data.row) {
$gr.move_widget_down($w, $gr.player_grid_data.size_y);
$gr.set_placeholder(to_col, to_row);
}
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -2883,7 +2883,7 @@
$overlapped_widgets.each($.proxy(function (i, w) {
var $w = $(w);
if ($gr.can_go_down($w)) {
if ($gr.can_go_down($w) && $w.coords().grid.row === $gr.player_grid_data.row) {
$gr.move_widget_down($w, $gr.player_grid_data.size_y);
$gr.set_placeholder(to_col, to_row);
}
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -1989,7 +1989,7 @@
$overlapped_widgets.each($.proxy(function (i, w) {
var $w = $(w);
if ($gr.can_go_down($w)) {
if ($gr.can_go_down($w) && $w.coords().grid.row === $gr.player_grid_data.row) {
$gr.move_widget_down($w, $gr.player_grid_data.size_y);
$gr.set_placeholder(to_col, to_row);
}