Commit cd99763a authored by Ilya.Kirillov's avatar Ilya.Kirillov Committed by Alexander.Trofimov

Исправлен баг с объединением точек истории и последующим пересчетом.

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@54845 954022d7-b5bf-4e40-9824-e11837661b57
parent 55ef20a1
......@@ -320,7 +320,11 @@ CHistory.prototype =
this.Points.splice( this.Points.length - 2, 2, NewPoint );
if ( this.Index >= this.Points.length )
this.Index = this.Points.length - 1;
{
var DiffIndex = -this.Index + (this.Points.length - 1);
this.Index += DiffIndex;
this.RecIndex += DiffIndex;
}
},
TurnOff : function()
......
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