зеркало из https://github.com/xamarin/ios-samples.git
[Chat] remove old workaround for render glitches
Xamarin.iOS 8.10.1.24
This commit is contained in:
Родитель
f49ae738a9
Коммит
6b622cafd5
|
@ -25,9 +25,6 @@ namespace Chat
|
|||
public ChatInputView ()
|
||||
{
|
||||
TextView = new UITextView ();
|
||||
TextView.Changed += OnTextChanged;
|
||||
TextView.Started += OnTextChanged;
|
||||
TextView.Ended += OnTextChanged;
|
||||
TextView.Layer.BorderColor = InputBorderColor.CGColor;
|
||||
TextView.Layer.BorderWidth = BorderWidth;
|
||||
TextView.Layer.CornerRadius = CornerRadius;
|
||||
|
@ -68,10 +65,5 @@ namespace Chat
|
|||
AddConstraints (c1);
|
||||
AddConstraint (c2);
|
||||
}
|
||||
|
||||
void OnTextChanged (object sender, EventArgs e)
|
||||
{
|
||||
SetNeedsDisplay ();
|
||||
}
|
||||
}
|
||||
}
|
Загрузка…
Ссылка в новой задаче