Fix foreground terrain to the right of the toolbar being drawn as a tiny square when the item palette is active and an item with a tiny graphic is selected.

This commit is contained in:
2025-03-10 22:45:51 -04:00
committed by Celtic Minstrel
parent 2fd35b1053
commit 4e736a7e93

View File

@@ -1522,6 +1522,7 @@ void place_location() {
rectangle tiny_from = {0,0,18,18};
tiny_from.offset((picture_wanted % 10) * 18,(picture_wanted / 10) * 18);
rect_draw_some_item(*ResMgr::graphics.get("tinyobj"),tiny_from,mainPtr(),draw_rect,sf::BlendAlpha);
draw_rect.inset(-5, -9);
}
} else if(overall_mode == MODE_TOGGLE_SPECIAL_DOT) {
draw_field = true;