Browse Source

[SKIA] There is no need to disable LcdRenderText for regular opacity, it's needed only for RTB and layers

pull/1173/head
Nikita Tsukanov 9 years ago
parent
commit
c3e36e9339
  1. 2
      src/Skia/Avalonia.Skia/FormattedTextImpl.cs

2
src/Skia/Avalonia.Skia/FormattedTextImpl.cs

@ -285,7 +285,7 @@ namespace Avalonia.Skia
return;
curr?.Dispose();
curr = wrapper.ApplyTo(paint);
paint.LcdRenderText = canUseLcdRendering && paint.Color.Alpha == 255;
paint.LcdRenderText = canUseLcdRendering;
}
private static bool IsBreakChar(char c)

Loading…
Cancel
Save