Commit 591df54f authored by Oleg.Korshul's avatar Oleg.Korshul Committed by Alexander.Trofimov

move detect

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@56123 954022d7-b5bf-4e40-9824-e11837661b57
parent 83e7206f
......@@ -112,7 +112,7 @@ RulerCheckSimpleChanges.prototype =
if (!this.IsSimple)
return;
if (Math.abs(global_mouseEvent.X - this.X) > 0 && Math.abs(global_mouseEvent.Y - this.Y) > 0)
if (Math.abs(global_mouseEvent.X - this.X) > 0 || Math.abs(global_mouseEvent.Y - this.Y) > 0)
this.IsSimple = false;
}
};
......
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