Browse Source

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

Nikita Tsukanov 8 years ago
parent
commit
c3e36e9339
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Skia/Avalonia.Skia/FormattedTextImpl.cs

+ 1 - 1
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)