clear canvas if url is changed

This commit is contained in:
Persephone Bubblegum-Holiday 2025-02-11 12:47:28 -07:00
parent e0958141f4
commit 7bf20c2a12

View file

@ -94,6 +94,9 @@ namespace networkPaint
string tempURL = urlTextBox.Text;
if (!tempURL.EndsWith("")) tempURL += "/";
url = tempURL;
bitmap = new Bitmap(640, 480);
paintArea.Image = bitmap;
graphics = Graphics.FromImage(bitmap);
}
}
}