mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-25 15:37:56 +01:00
fixing lowerbound error
This commit is contained in:
parent
d565d6899e
commit
8ce317e71f
@ -307,8 +307,8 @@ mindplot.FixedDistanceBoard.prototype.lookupEntryByPosition = function(pos)
|
|||||||
if (pos.y < firstEntry.getLowerLimit())
|
if (pos.y < firstEntry.getLowerLimit())
|
||||||
{
|
{
|
||||||
var upperLimit = firstEntry.getLowerLimit();
|
var upperLimit = firstEntry.getLowerLimit();
|
||||||
var lowerLimit = upperLimit + defaultHeight;
|
var lowerLimit = upperLimit - defaultHeight;
|
||||||
result = this.createBoardEntry(lowerLimit, upperLimit, -1);
|
result = this.createBoardEntry(lowerLimit, upperLimit, 0);
|
||||||
} else
|
} else
|
||||||
{
|
{
|
||||||
var entriesLenght = entries.length;
|
var entriesLenght = entries.length;
|
||||||
|
Loading…
Reference in New Issue
Block a user