From 4e736a7e93d1a79be5fa46247aa3ed726103a6f4 Mon Sep 17 00:00:00 2001 From: Celtic Minstrel Date: Mon, 10 Mar 2025 22:45:51 -0400 Subject: [PATCH] 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. --- src/scenedit/scen.graphics.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/scenedit/scen.graphics.cpp b/src/scenedit/scen.graphics.cpp index f0550398..dad06967 100644 --- a/src/scenedit/scen.graphics.cpp +++ b/src/scenedit/scen.graphics.cpp @@ -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;