Skip to content

Commit ae6734d

Browse files
committed
fix link controls positioning on mobile
1 parent b893344 commit ae6734d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/EditorUI.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ using namespace geode::node_ids;
152152
menu->getChildByID("enable-link-button")
153153
);
154154
linkMenu->setContentSize({ 125.f, zoomMenuHeight + 35.f });
155-
linkMenu->setPositionY(playTestMenu->getPositionY() + 3 - (linkMenu->getContentHeight() / 2));
155+
linkMenu->setPositionY(playTestMenu->getPositionY() + 3 - (linkMenu->getContentHeight() / 2) GEODE_MOBILE(- 24.f));
156156
linkMenu->updateLayout();
157157

158158
menu->setPosition(42.f, 45.f);

0 commit comments

Comments
 (0)