Commit MetaInfo

Revisionaa55de3fb1cb66e1a84490857b8379ef63e1fecc (tree)
Time2017-07-28 22:07:55
Author <exeal@user...>

Log Message

fixed: TextViewport.scrollBlockFlowPage method missed current position.

Change Summary

Incremental Difference

diff -r a29935fa6887 -r aa55de3fb1cb ascension/src/graphics/font/text-viewport.cpp
--- a/ascension/src/graphics/font/text-viewport.cpp Fri Jul 28 22:06:26 2017 +0900
+++ b/ascension/src/graphics/font/text-viewport.cpp Fri Jul 28 22:07:55 2017 +0900
@@ -1169,6 +1169,7 @@
11691169 if((bpdInPage += (lineMetrics = TextLayout::LineMetricsIterator(*layout, layout->numberOfLines() - 1)).height()) > bpd) {
11701170 layout = &layouts.at(++line, LineLayoutVector::USE_CALCULATED_LAYOUT);
11711171 lineMetrics = TextLayout::LineMetricsIterator(*layout, 0);
1172+ ++newPositions.bpd();
11721173 }
11731174 } else
11741175 break;
Show on old repository browser