зеркало из https://github.com/jsuarezruiz/HotUI.git
Fixed an iOS shape view issue.
This commit is contained in:
Родитель
a47e1e94fe
Коммит
10bfc38fd0
|
@ -3,7 +3,7 @@ using System.Collections.Generic;
|
|||
|
||||
namespace HotUI.Samples
|
||||
{
|
||||
class CreditCard : BindingObject
|
||||
public class CreditCard : BindingObject
|
||||
{
|
||||
public string Number
|
||||
{
|
||||
|
|
|
@ -35,7 +35,7 @@ namespace HotUI.iOS
|
|||
{
|
||||
var drawingStyle = Shape.GetDrawingStyle(View, DrawingStyle.StrokeFill);
|
||||
|
||||
var lineWidth = 1f;
|
||||
var lineWidth = Shape.GetLineWidth(View, 1);
|
||||
var strokeColor = Color.Black;
|
||||
object fill = null;
|
||||
|
||||
|
@ -123,7 +123,6 @@ namespace HotUI.iOS
|
|||
|
||||
if (drawingStyle == DrawingStyle.Stroke || drawingStyle == DrawingStyle.StrokeFill)
|
||||
{
|
||||
lineWidth = Shape.GetLineWidth(View, 1);
|
||||
strokeColor = Shape.GetStrokeColor(View, Color.Black);
|
||||
|
||||
context.SetLineWidth(lineWidth);
|
||||
|
|
Загрузка…
Ссылка в новой задаче