Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/xwt.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSandy Armstrong <sandy@xamarin.com>2022-02-17 22:15:32 +0300
committerSandy Armstrong <sandy@xamarin.com>2022-02-17 22:15:32 +0300
commit47b1c704ef64cdce1b0b148540d292aaa11582fb (patch)
tree4b56e9368e42b26d7a262895480e0b812ff76c4f
parent187603c99d4824c8eb477c2ffc88bf29f14daf82 (diff)
Fix typo, actually draw text
-rw-r--r--Xwt.XamMac/Xwt.Mac/TextLayoutBackendHandler.cs2
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);
}