fixed wrong positioning if only x2 value was to out of bounds maybe also need to be tested for y direction
This commit is contained in:
parent
17f29984e5
commit
94effaeda7
1 changed files with 1 additions and 1 deletions
|
|
@ -345,7 +345,7 @@ $(function(){
|
|||
dx = -svgBB.x + 0.01;
|
||||
outside = true;
|
||||
} else if(svgBB.x2 > waBB.x2){
|
||||
dx = -svgBB.x2 + waBB.x2 - 0.01;
|
||||
dx = -svgBB.x + 0.01;
|
||||
outside = true;
|
||||
}
|
||||
if(svgBB.y < waBB.y){
|
||||
|
|
|
|||
Loading…
Reference in a new issue