1102
1104
d->tabs[d->currentIndex].position = d->viewConverter->viewToDocumentX(pos.x() + d->selectOffset
1103
1105
- d->offset) - d->activeRangeStart;
1105
1107
d->tabs[d->currentIndex].position = d->doSnapping(d->tabs[d->currentIndex].position);
1106
1108
if (d->tabs[d->currentIndex].position < 0)
1107
1109
d->tabs[d->currentIndex].position = 0;