hyprscrolling: fix colresize not always recalculating (#360)

This commit is contained in:
clotodex 2025-05-24 23:46:48 +02:00 committed by GitHub
parent 032b2fd879
commit 1e57d4e54d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -746,6 +746,7 @@ std::any CScrollingLayout::layoutMessage(SLayoutMessageHeader header, std::strin
c->columnWidth = abs;
}
WDATA->column->workspace->recalculate();
return {};
}
@ -763,6 +764,7 @@ std::any CScrollingLayout::layoutMessage(SLayoutMessageHeader header, std::strin
break;
}
WDATA->column->workspace->recalculate();
return {};
} else if (ARGS[1] == "-conf") {
for (size_t i = m_config.configuredWidths.size() - 1; i >= 0; --i) {
@ -777,6 +779,7 @@ std::any CScrollingLayout::layoutMessage(SLayoutMessageHeader header, std::strin
break;
}
WDATA->column->workspace->recalculate();
return {};
}