debug, gomod, and lists extend to bottom
This commit is contained in:
@@ -289,6 +289,7 @@
|
||||
}
|
||||
|
||||
.board .list {
|
||||
height: calc(100% - 10px);
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
width: 250px;
|
||||
@@ -2528,10 +2529,11 @@
|
||||
|
||||
var list = this;
|
||||
var rc = list.getBoundingClientRect();
|
||||
var y_min = rc.bottom;
|
||||
var _y_min = rc.bottom;
|
||||
var y_min = () => { return _y_min + 10000000 };
|
||||
var n_min = null;
|
||||
|
||||
if (x <= rc.left || rc.right <= x || y <= rc.top || rc.bottom <= y)
|
||||
if (x <= rc.left || rc.right <= x || y <= rc.top ) // || rc.bottom <= y)
|
||||
return;
|
||||
|
||||
var $list = $(list);
|
||||
@@ -2540,9 +2542,9 @@
|
||||
var note = this;
|
||||
var rc = note.getBoundingClientRect();
|
||||
|
||||
if (rc.top < y_min)
|
||||
if (rc.top < y_min())
|
||||
{
|
||||
y_min = rc.top;
|
||||
_y_min = rc.top;
|
||||
n_min = note;
|
||||
}
|
||||
|
||||
@@ -2559,7 +2561,7 @@
|
||||
/*
|
||||
* dropping on the list header
|
||||
*/
|
||||
if (! target && y < y_min)
|
||||
if (! target && y < y_min())
|
||||
{
|
||||
if (n_min) // non-empty list
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user