From 71cf7c19c1e3f7f756b467c8456a59a6e2130dde Mon Sep 17 00:00:00 2001 From: Tim Young Date: Sun, 17 Sep 2017 18:18:22 -0500 Subject: [PATCH] Dragging works better now --- SpriteLibrary/SpriteEntryForm.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/SpriteLibrary/SpriteEntryForm.cs b/SpriteLibrary/SpriteEntryForm.cs index 353e7ec..53106ce 100644 --- a/SpriteLibrary/SpriteEntryForm.cs +++ b/SpriteLibrary/SpriteEntryForm.cs @@ -45,6 +45,7 @@ namespace SpriteLibrary private void LocalSetup() { pbImageField.BackgroundImageLayout = ImageLayout.Stretch; + pbImageField.BackgroundImage = new Bitmap(600, 800); MyController = new SpriteController(pbImageField); PopulateMenu(); UpdateMenu(); @@ -126,7 +127,7 @@ namespace SpriteLibrary private void UpdateHighlightBox() { - int transparency = 200; + int transparency = 50; Image NewFrontImage = new Bitmap(pbImageField.BackgroundImage.Width, pbImageField.BackgroundImage.Height); Color FillColor = Color.Green; Brush brush = new SolidBrush(Color.FromArgb(transparency, FillColor.R, FillColor.G, FillColor.B));