add function call that prevents black custom sheet canvas

This commit is contained in:
2025-07-31 11:27:46 -05:00
parent 05d7ec8f45
commit c7193b93d4

View File

@@ -3766,6 +3766,8 @@ private:
sf::Sprite s(texture);
canvas().clear(sf::Color(0,0,0,0));
canvas().draw(s);
// For some reason, without this call, the canvas becomes black!
canvas().getTexture().copyToImage();
}
// Set which custom sheet is viewed