diff options
author | Mike Krüger <mkrueger@xamarin.com> | 2013-08-21 12:44:19 +0400 |
---|---|---|
committer | Mike Krüger <mkrueger@xamarin.com> | 2013-08-21 12:44:19 +0400 |
commit | 4fd84ab3724089d5a045eacdd1a082c462875b15 (patch) | |
tree | 32c462356d77ad93a69148f639c0af80ed7b6430 /main/src/addins/MonoDevelop.HexEditor | |
parent | 9b1c783d9794fc4a153e9891e7144146c62a33e4 (diff) |
[HexEditor] Take back workaround, it's now fixed.
Diffstat (limited to 'main/src/addins/MonoDevelop.HexEditor')
-rw-r--r-- | main/src/addins/MonoDevelop.HexEditor/Mono.MHex.Rendering/HexEditorMargin.cs | 2 | ||||
-rw-r--r-- | main/src/addins/MonoDevelop.HexEditor/Mono.MHex.Rendering/TextEditorMargin.cs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/main/src/addins/MonoDevelop.HexEditor/Mono.MHex.Rendering/HexEditorMargin.cs b/main/src/addins/MonoDevelop.HexEditor/Mono.MHex.Rendering/HexEditorMargin.cs index 431508f583..5911b02d6d 100644 --- a/main/src/addins/MonoDevelop.HexEditor/Mono.MHex.Rendering/HexEditorMargin.cs +++ b/main/src/addins/MonoDevelop.HexEditor/Mono.MHex.Rendering/HexEditorMargin.cs @@ -155,7 +155,7 @@ namespace Mono.MHex.Rendering ch = caretIndex < text.Length ? text [caretIndex] : ' '; if (layout.IsUncached) layout.Dispose (); - return XOffset + rectangle.X / 1024.0; // FIX XWT !!!! Pango.Scale bug + return XOffset + rectangle.X; } internal protected override void MousePressed (MarginMouseEventArgs args) diff --git a/main/src/addins/MonoDevelop.HexEditor/Mono.MHex.Rendering/TextEditorMargin.cs b/main/src/addins/MonoDevelop.HexEditor/Mono.MHex.Rendering/TextEditorMargin.cs index e4198d3359..92b2817d86 100644 --- a/main/src/addins/MonoDevelop.HexEditor/Mono.MHex.Rendering/TextEditorMargin.cs +++ b/main/src/addins/MonoDevelop.HexEditor/Mono.MHex.Rendering/TextEditorMargin.cs @@ -120,7 +120,7 @@ namespace Mono.MHex.Rendering if (layout.IsUncached) layout.Dispose (); - return XOffset + rectangle.X / 1024.0; // FIX XWT !!!! Pango.Scale bug + return XOffset + rectangle.X; } internal protected override void MousePressed (MarginMouseEventArgs args) |