Fix debug message

This commit is contained in:
Scott Kostyshak 2020-04-19 09:02:04 -04:00
parent d02b17622e
commit 721d39ddc7

View File

@ -938,7 +938,10 @@ bool BufferView::scrollToCursor(DocIterator const & dit, bool const recenter)
if (height_ == 0)
return false;
LYXERR(Debug::SCROLLING, "recentering!");
if (recenter)
LYXERR(Debug::SCROLLING, "recentering and scrolling to cursor");
else
LYXERR(Debug::SCROLLING, "scrolling to cursor");
CursorSlice const & bot = dit.bottom();
TextMetrics & tm = d->text_metrics_[bot.text()];