mirror of
https://github.com/hyprwm/hyprland-plugins.git
synced 2026-05-05 02:07:58 +02:00
hyprscrolling: fix colresize not always recalculating (#360)
This commit is contained in:
parent
032b2fd879
commit
1e57d4e54d
1 changed files with 3 additions and 0 deletions
|
|
@ -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 {};
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue