(Hoffentlich) Windows-Fix
This commit is contained in:
@@ -88,6 +88,8 @@ namespace WorldOfPeacecraft
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void PerformRefresh ()
|
public void PerformRefresh ()
|
||||||
|
{
|
||||||
|
this.BeginInvoke(new MethodInvoker(delegate
|
||||||
{
|
{
|
||||||
ITile[,] map = Backend.GetMap();
|
ITile[,] map = Backend.GetMap();
|
||||||
int mapWidth = (map.GetLength(0)) * tileSize;
|
int mapWidth = (map.GetLength(0)) * tileSize;
|
||||||
@@ -98,6 +100,7 @@ namespace WorldOfPeacecraft
|
|||||||
this.ResumeLayout();
|
this.ResumeLayout();
|
||||||
this.PerformLayout();
|
this.PerformLayout();
|
||||||
this.Refresh();
|
this.Refresh();
|
||||||
|
}));
|
||||||
}
|
}
|
||||||
|
|
||||||
[DllImport("kernel32.dll", SetLastError = true)]
|
[DllImport("kernel32.dll", SetLastError = true)]
|
||||||
|
|||||||
Reference in New Issue
Block a user