Revision | aa55de3fb1cb66e1a84490857b8379ef63e1fecc (tree) |
---|---|
Time | 2017-07-28 22:07:55 |
Author | <exeal@user...> |
fixed: TextViewport.scrollBlockFlowPage method missed current position.
@@ -1169,6 +1169,7 @@ | ||
1169 | 1169 | if((bpdInPage += (lineMetrics = TextLayout::LineMetricsIterator(*layout, layout->numberOfLines() - 1)).height()) > bpd) { |
1170 | 1170 | layout = &layouts.at(++line, LineLayoutVector::USE_CALCULATED_LAYOUT); |
1171 | 1171 | lineMetrics = TextLayout::LineMetricsIterator(*layout, 0); |
1172 | + ++newPositions.bpd(); | |
1172 | 1173 | } |
1173 | 1174 | } else |
1174 | 1175 | break; |