diff options
author | Sandy Armstrong <sandy@xamarin.com> | 2022-02-17 22:15:32 +0300 |
---|---|---|
committer | Sandy Armstrong <sandy@xamarin.com> | 2022-02-17 22:15:32 +0300 |
commit | 47b1c704ef64cdce1b0b148540d292aaa11582fb (patch) | |
tree | 4b56e9368e42b26d7a262895480e0b812ff76c4f | |
parent | 187603c99d4824c8eb477c2ffc88bf29f14daf82 (diff) |
Fix typo, actually draw text
-rw-r--r-- | Xwt.XamMac/Xwt.Mac/TextLayoutBackendHandler.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Xwt.XamMac/Xwt.Mac/TextLayoutBackendHandler.cs b/Xwt.XamMac/Xwt.Mac/TextLayoutBackendHandler.cs index 5dd7d738..c8fb79a8 100644 --- a/Xwt.XamMac/Xwt.Mac/TextLayoutBackendHandler.cs +++ b/Xwt.XamMac/Xwt.Mac/TextLayoutBackendHandler.cs @@ -261,7 +261,7 @@ namespace Xwt.Mac TextStorage.AddLayoutManager (TextLayout); TextLayout.DrawBackground (new NSRange(0, Text.Length), new CGPoint (x, y)); - TextLayout.DrawBackground (new NSRange(0, Text.Length), new CGPoint (x, y)); + TextLayout.DrawGlyphs (new NSRange(0, Text.Length), new CGPoint (x, y)); TextStorage.RemoveLayoutManager (TextLayout); TextLayout.RemoveTextContainer (0); } |