Diff
1diff --git a/src/TabGroup.cpp b/src/TabGroup.cpp
2index 5eec57f1ba6e85a4ba7f70133e1a399333b1a933..2e0e52e7a636802a2fb0cd1c8b6acc77e77681ab 100644
3--- a/src/TabGroup.cpp
4+++ b/src/TabGroup.cpp
5@@ -356,8 +356,8 @@ void Hy3TabGroup::updateWithGroup(Hy3Node& node) {
6 static const auto* bar_height = &HyprlandAPI::getConfigValue(PHANDLE, "plugin:hy3:tabs:height")->intValue;
7
8 auto gaps = node.parent == nullptr ? *gaps_out : *gaps_in;
9- auto tpos = node.position + Vector2D(gaps, gaps);
10- auto tsize = Vector2D(node.size.x - gaps * 2, *bar_height);
11+ auto tpos = node.position + Vector2D(gaps, gaps) + node.gap_pos_offset;
12+ auto tsize = Vector2D(node.size.x - node.gap_size_offset.x - gaps * 2, *bar_height);
13
14 this->hidden = node.hidden;
15 if (this->pos.goalv() != tpos) this->pos = tpos;