Change how tiled->float size works

This commit is contained in:
vaxerski 2021-12-04 17:07:26 +01:00
parent db258c63bb
commit dfb3efa33d

View file

@ -781,11 +781,11 @@ void CWindowManager::calculateNewFloatingWindow(CWindow* pWindow) {
return;
if (!pWindow->getNoInterventions()) {
pWindow->setPosition(pWindow->getDefaultPosition());
pWindow->setSize(pWindow->getDefaultSize());
pWindow->setPosition(pWindow->getEffectivePosition() + Vector2D(3,3));
pWindow->setSize(pWindow->getEffectiveSize() - Vector2D(6, 6));
pWindow->setEffectivePosition(pWindow->getPosition() + Vector2D(10, 10));
pWindow->setEffectiveSize(pWindow->getDefaultSize());
pWindow->setEffectiveSize(pWindow->getSize());
pWindow->setRealPosition(pWindow->getPosition());
pWindow->setRealSize(pWindow->getSize());