dwrite: Only invalidate lines if line spacing changed.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
9ec714db5d
commit
32c1ef019a
|
@ -3661,7 +3661,7 @@ static HRESULT WINAPI dwritetextlayout3_SetLineSpacing(IDWriteTextLayout3 *iface
|
|||
return hr;
|
||||
|
||||
if (changed)
|
||||
This->recompute = RECOMPUTE_EVERYTHING;
|
||||
This->recompute = RECOMPUTE_LINES;
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue