add black border on the drawn box
This commit is contained in:
parent
eff73b2ced
commit
6670b358c0
@ -311,7 +311,8 @@ public class Game : GameWindow {
|
|||||||
Box2i box = makeBox(windowWidth - thumbnailWidth, i * thumbnailHeight, thumbnailWidth, thumbnailHeight);
|
Box2i box = makeBox(windowWidth - thumbnailWidth, i * thumbnailHeight, thumbnailWidth, thumbnailHeight);
|
||||||
DrawTexture(textures[i], box);
|
DrawTexture(textures[i], box);
|
||||||
if (i == textureIndex) {
|
if (i == textureIndex) {
|
||||||
DrawBox(box, 3, Color4.GreenYellow);
|
DrawBox(box, 5, Color4.Black);
|
||||||
|
DrawBox(box, 3, Color4.White);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user