Commit 39b252c3 authored by Alexander.Trofimov's avatar Alexander.Trofimov Committed by Alexander.Trofimov
parent fe43c8d5
......@@ -3692,7 +3692,7 @@
ctx.setStrokeStyle(new CColor(0, 0, 0))
.setLineWidth(1)
.beginPath();
var aActiveMoveRangeIntersection = this.activeMoveRange.intersection(this.visibleRange);
var aActiveMoveRangeIntersection = this.activeMoveRange.intersection(tmpRange !== undefined ? tmpRange : this.visibleRange);
if (aActiveMoveRangeIntersection) {
var drawLeftSideMoveRange = aActiveMoveRangeIntersection.c1 === this.activeMoveRange.c1;
var drawRightSideMoveRange = aActiveMoveRangeIntersection.c2 === this.activeMoveRange.c2;
......@@ -7473,7 +7473,7 @@
// Перерисовываем
this._drawSelection();
var d = {}
var d = {};
/*var d = {
deltaX : this.activeMoveRange.c1 < this.visibleRange.c1 ? this.activeMoveRange.c1-this.visibleRange.c1 :
this.activeMoveRange.c2>this.visibleRange.c2 ? this.activeMoveRange.c2-this.visibleRange.c2 : 0,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment