Dragging works better now

This commit is contained in:
Tim Young 2017-09-17 18:18:22 -05:00
parent 1361a46b7c
commit 71cf7c19c1
1 changed files with 2 additions and 1 deletions

View File

@ -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));