Skip to content
Snippets Groups Projects
Commit ef68fdd1 authored by Paul-Winpenny's avatar Paul-Winpenny
Browse files

Update MainPage_Android.xaml.cs

parent a42c1b8e
No related branches found
No related tags found
No related merge requests found
...@@ -79,7 +79,7 @@ namespace RobobinApp.Views ...@@ -79,7 +79,7 @@ namespace RobobinApp.Views
{ {
var drawable = (GraphicsDrawable)Resources["drawable"]; var drawable = (GraphicsDrawable)Resources["drawable"];
Debug.WriteLine($"VM Location {viewModel.Location}"); Debug.WriteLine($"VM Location {viewModel.Location}");
drawable.SetLocation(viewModel.Location); //drawable.SetLocation(viewModel.Location);
drawable.SetGraph(viewModel.Graph); drawable.SetGraph(viewModel.Graph);
GraphicsView.Invalidate(); // Redraw the GraphicsView GraphicsView.Invalidate(); // Redraw the GraphicsView
Debug.WriteLine("Graph updated and redrawn."); Debug.WriteLine("Graph updated and redrawn.");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment