diff options
Diffstat (limited to 'Samples/DebugLogAnalyzer/src/DebugInterface.cs')
| -rw-r--r-- | Samples/DebugLogAnalyzer/src/DebugInterface.cs | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/Samples/DebugLogAnalyzer/src/DebugInterface.cs b/Samples/DebugLogAnalyzer/src/DebugInterface.cs index a9cd51f1..a15b63aa 100644 --- a/Samples/DebugLogAnalyzer/src/DebugInterface.cs +++ b/Samples/DebugLogAnalyzer/src/DebugInterface.cs @@ -70,8 +70,10 @@ namespace Crow Thread.Sleep(1000); } - if (IsDirty) - delRegisterForRepaint(); + if (IsDirty) { + delRegisterForRepaint(); + //Console.WriteLine ("[DbgIFace]RegisterForRepaint"); + } Thread.Sleep (UPDATE_INTERVAL); } @@ -131,8 +133,8 @@ namespace Crow } public override void ForceMousePosition() { - Point p = (Point)delGetScreenCoordinate(); + Point p = Point.Parse(delGetScreenCoordinate().ToString()); Glfw.Glfw3.SetCursorPosition (WindowHandle, p.X + MousePosition.X, p.Y + MousePosition.Y); } } -}
\ No newline at end of file +} |