Browse Source

add black border on the drawn box

main
Colin McMillen 1 year ago
parent
commit
6670b358c0
  1. 3
      Program.cs

3
Program.cs

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

Loading…
Cancel
Save