From 24e042d02d7085bfc7aa3edcbe96595f39cf5927 Mon Sep 17 00:00:00 2001 From: alhimek17 Date: Sun, 21 Apr 2024 20:36:55 +0400 Subject: [PATCH] =?UTF-8?q?=D0=9B=D0=B0=D0=B1=D0=BE=D1=80=D0=B0=D1=82?= =?UTF-8?q?=D0=BE=D1=80=D0=BD=D0=B0=D1=8F=20=D1=80=D0=B0=D0=B1=D0=BE=D1=82?= =?UTF-8?q?=D0=B0=20=E2=84=965=20(1)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ProjectAirPlane/ProjectAirPlane/Drawnings/DrawningAirPlane.cs | 2 +- ProjectAirPlane/ProjectAirPlane/FormPlaneConfig.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ProjectAirPlane/ProjectAirPlane/Drawnings/DrawningAirPlane.cs b/ProjectAirPlane/ProjectAirPlane/Drawnings/DrawningAirPlane.cs index 75d8d13..396042e 100644 --- a/ProjectAirPlane/ProjectAirPlane/Drawnings/DrawningAirPlane.cs +++ b/ProjectAirPlane/ProjectAirPlane/Drawnings/DrawningAirPlane.cs @@ -33,7 +33,7 @@ public class DrawningAirPlane : DrawningPlane return; } Pen pen = new(Color.Black); - Brush additionalBrush = new SolidBrush(EntityPlane.BodyColor); + Brush additionalBrush = new SolidBrush(airPlane.AdditionalColor); if (airPlane.Chassi) { diff --git a/ProjectAirPlane/ProjectAirPlane/FormPlaneConfig.cs b/ProjectAirPlane/ProjectAirPlane/FormPlaneConfig.cs index 7abcce1..44755ce 100644 --- a/ProjectAirPlane/ProjectAirPlane/FormPlaneConfig.cs +++ b/ProjectAirPlane/ProjectAirPlane/FormPlaneConfig.cs @@ -59,7 +59,7 @@ public partial class FormPlaneConfig : Form Bitmap bmp = new(pictureBoxObject.Width, pictureBoxObject.Height); Graphics gr = Graphics.FromImage(bmp); _plane?.SetPictureSize(pictureBoxObject.Width, pictureBoxObject.Height); - _plane?.SetPosition(110, 75); + _plane?.SetPosition(80, 60); _plane?.DrawTransport(gr); pictureBoxObject.Image = bmp; }