add black border on the drawn box

This commit is contained in:
Colin McMillen 2023-07-07 02:33:01 -04:00
parent eff73b2ced
commit 6670b358c0

View File

@ -311,7 +311,8 @@ public class Game : GameWindow {
Box2i box = makeBox(windowWidth - thumbnailWidth, i * thumbnailHeight, thumbnailWidth, thumbnailHeight);
DrawTexture(textures[i], box);
if (i == textureIndex) {
DrawBox(box, 3, Color4.GreenYellow);
DrawBox(box, 5, Color4.Black);
DrawBox(box, 3, Color4.White);
}
}