Issue #197641 followup by herom, good_man, yhager: Fixed Drag and drop is not RTL aware.
parent
c55ac96895
commit
862d51f9d4
|
@ -564,7 +564,7 @@
|
||||||
if (self.indentEnabled) {
|
if (self.indentEnabled) {
|
||||||
var xDiff = self.currentPointerCoords.x - self.dragObject.indentPointerPos.x;
|
var xDiff = self.currentPointerCoords.x - self.dragObject.indentPointerPos.x;
|
||||||
// Set the number of indentations the pointer has been moved left or right.
|
// 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
|
// Indent the row with our estimated diff, which may be further
|
||||||
// restricted according to the rows around this row.
|
// restricted according to the rows around this row.
|
||||||
var indentChange = self.rowObject.indent(indentDiff);
|
var indentChange = self.rowObject.indent(indentDiff);
|
||||||
|
|
Loading…
Reference in New Issue