From 64d5b5c06efdf6d42d3011c96122632500e3e0c0 Mon Sep 17 00:00:00 2001 From: freebipman Date: Wed, 16 Sep 2020 10:20:25 +1000 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B5=20=D0=B3=D1=80=D0=B0=D1=84=D0=B8=D1=87?= =?UTF-8?q?=D0=B5=D1=81=D0=BA=D0=B8=D1=85=20=D1=84=D1=83=D0=BD=D0=BA=D1=86?= =?UTF-8?q?=D0=B8=D0=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/BipEmulator.Host/WatchScreen.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/BipEmulator.Host/WatchScreen.cs b/src/BipEmulator.Host/WatchScreen.cs index a6b12f9..a6a94e6 100644 --- a/src/BipEmulator.Host/WatchScreen.cs +++ b/src/BipEmulator.Host/WatchScreen.cs @@ -107,19 +107,19 @@ namespace BipEmulator.Host public void DrawFilledRectBg(int x0, int y0, int x1, int y1) { var g = Graphics.FromImage(_shadowImage); - g.FillRectangle(_backBrush, x0, y0, x1 - x0, y1 - y0); + g.FillRectangle(_backBrush, x0, y0, x1 - x0 + 1, y1 - y0 + 1); } public void DrawFilledRect(int x0, int y0, int x1, int y1) { var g = Graphics.FromImage(_shadowImage); - g.FillRectangle(_foreBrush, x0, y0, x1 - x0, y1 - y0); + g.FillRectangle(_foreBrush, x0, y0, x1 - x0 + 1, y1 - y0 + 1); } public void DrawRect(int x0, int y0, int x1, int y1) { var g = Graphics.FromImage(_shadowImage); - g.DrawRectangle(_forePen, x0, y0, x1 - x0, y1 - y0); + g.DrawRectangle(_forePen, x0, y0, x1 - x0 + 1, y1 - y0 + 1); } public void DrawImage(Bitmap image, int x, int y)