Merge pull request #206 from laarmen/fix_forms_ios_opacity

Make the iOS Forms views non-opaque. Fixes #198
This commit is contained in:
Matthew Leibowitz 2016-12-02 03:17:03 +02:00 коммит произвёл GitHub
Родитель e01fc9f8a1 9e93e3e0ae
Коммит 01c7253d88
2 изменённых файлов: 6 добавлений и 0 удалений

Просмотреть файл

@ -86,6 +86,9 @@ namespace SkiaSharp.Views.Forms
UserInteractionEnabled = false;
this.controller = controller;
// Force the opacity to false for consistency with the other platforms
Opaque = false;
}
public override void DrawInSurface(SKSurface surface, SKImageInfo info)

Просмотреть файл

@ -132,6 +132,9 @@ namespace SkiaSharp.Views.Forms
UserInteractionEnabled = false;
this.controller = controller;
// Force the opacity to false for consistency with the other platforms
Opaque = false;
}
public override void DrawInSurface(SKSurface surface, GRBackendRenderTargetDesc renderTarget)