Dragging works better now
This commit is contained in:
parent
1361a46b7c
commit
71cf7c19c1
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user