]> git.lyx.org Git - features.git/commit
Fix some display glitches
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Sun, 27 Jul 2014 15:30:57 +0000 (17:30 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 7 Jan 2015 21:55:11 +0000 (22:55 +0100)
commitc6e1db7682dc8d58a68147b5eee1d004829ef6d2
tree69a16c3f72de507f83c9f2fd7e1d4ec877f760c4
parentfcaf5b5fc8a0949987d7e49949f2ce0a74792008
Fix some display glitches

* When doing a redraw with drawing disabled (to set inset positions properly), take horizontal scroll offset in account

* reset horizontal scroll offset when it is smaller than the left margin.

* when drawing a paragraph, do not modify x globally, only for the row that is offset.
src/BufferView.cpp
src/TextMetrics.cpp