1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-08-13 19:54:17 +02:00

Increase opacity for new objects

This commit is contained in:
nordsoft
2022-12-04 20:48:30 +04:00
parent 2489a21ced
commit 2e4b4fbebf

View File

@@ -390,7 +390,7 @@ void SelectionObjectsLayer::draw()
//show translation
if(selectionMode == SelectionMode::MOVEMENT && (shift.x() || shift.y()))
{
painter.setOpacity(0.5);
painter.setOpacity(0.7);
auto newPos = QPoint(obj->getPosition().x, obj->getPosition().y) + shift;
handler->drawObjectAt(painter, obj, newPos.x(), newPos.y());
}