mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 19:25:39 +00:00
This commit is contained in:
parent
8ec91e804a
commit
72cf7c8f1f
@ -495,9 +495,7 @@ void BufferView::processUpdateFlags(Update::flags flags)
|
|||||||
|
|
||||||
// updateMetrics() does not update paragraph position
|
// updateMetrics() does not update paragraph position
|
||||||
// This is done at draw() time. So we need a redraw!
|
// This is done at draw() time. So we need a redraw!
|
||||||
// We pass true so that metrics are computed for the sake
|
buffer_.changed(false);
|
||||||
// of having MacroData updated.
|
|
||||||
buffer_.changed(true);
|
|
||||||
|
|
||||||
if (needsFitCursor()) {
|
if (needsFitCursor()) {
|
||||||
// The cursor is off screen so ensure it is visible.
|
// The cursor is off screen so ensure it is visible.
|
||||||
@ -2183,9 +2181,7 @@ void BufferView::updateHoveredInset() const
|
|||||||
|
|
||||||
// This event (moving without mouse click) is not passed further.
|
// This event (moving without mouse click) is not passed further.
|
||||||
// This should be changed if it is further utilized.
|
// This should be changed if it is further utilized.
|
||||||
// We pass true so that metrics are computed for the sake
|
buffer_.changed(false);
|
||||||
// of having MacroData updated.
|
|
||||||
buffer_.changed(true);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user