Skip to content

Commit 88f72d6

Browse files
authored
add a layout to pause layer center button menu (#144)
1 parent 55930ef commit 88f72d6

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/PauseLayer.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,9 @@ using namespace geode::node_ids;
174174
rightMenu->updateLayout();
175175
++idx;
176176
}
177+
178+
menu->setContentSize({440, 81.5f});
179+
menu->setLayout(SimpleRowLayout::create()->setGap(10.f)->setCrossAxisScaling(AxisScaling::Grow));
177180
}
178181
}
179182

0 commit comments

Comments
 (0)