diff --git a/CadEditor/FormMain.cs b/CadEditor/FormMain.cs index 27283303..48200a70 100644 --- a/CadEditor/FormMain.cs +++ b/CadEditor/FormMain.cs @@ -267,7 +267,7 @@ private void pictureBox1_Paint(object sender, PaintEventArgs e) int tileSizeY = (int)(bigBlocks[0].Height * curScale); var visibleRect = UtilsGui.getVisibleRectangle(pnView, mapScreen); //ConfigScript.getScreenVertical() ? TILE_SIZE_Y : TILE_SIZE_X - MapEditor.Render(e.Graphics, bigBlocks, visibleRect, screens, screenNo, curScale, true, showAxis, ConfigScript.getScreenVertical() ? 0 : tileSizeX, ConfigScript.getScreenVertical() ? tileSizeX : 0, width, height); + MapEditor.Render(e.Graphics, bigBlocks, visibleRect, screens, screenNo, curScale, true, showAxis, ConfigScript.getScreenVertical() ? 0 : tileSizeX, ConfigScript.getScreenVertical() ? tileSizeY : 0, width, height); if (!ConfigScript.getScreenVertical() && showNeiScreens && (screenNo > 0) && screen.layers[0].showLayer) {