mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 10:58:52 +00:00
Fix debug message
This commit is contained in:
parent
d02b17622e
commit
721d39ddc7
@ -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()];
|
||||
|
Loading…
Reference in New Issue
Block a user