Issue #197641 followup by herom, good_man, yhager: Fixed Drag and drop is not RTL aware.

8.0.x
Alex Pott 2014-10-29 09:25:11 +00:00
parent c55ac96895
commit 862d51f9d4
1 changed files with 1 additions and 1 deletions

View File

@ -564,7 +564,7 @@
if (self.indentEnabled) {
var xDiff = self.currentPointerCoords.x - self.dragObject.indentPointerPos.x;
// Set the number of indentations the pointer has been moved left or right.
var indentDiff = Math.round(xDiff / self.indentAmount * self.rtl);
var indentDiff = Math.round(xDiff / self.indentAmount);
// Indent the row with our estimated diff, which may be further
// restricted according to the rows around this row.
var indentChange = self.rowObject.indent(indentDiff);