Skip to content

Commit 496250d

Browse files
committed
Add some padding to the menu items in the viewport
1 parent 56ed321 commit 496250d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

toolkit/editor/editor/ui/modules/viewport.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ Viewport::Render()
9393
{
9494
if (ImGui::BeginMenuBar())
9595
{
96-
if (ImGui::BeginMenu("Camera"))
96+
if (ImGui::BeginMenu(" Camera "))
9797
{
9898
if (ImGui::MenuItem(
9999
"Perspective", (const char*)0, this->camera.GetProjectionMode() == Editor::Camera::ProjectionMode::PERSPECTIVE
@@ -171,7 +171,7 @@ Viewport::Render()
171171

172172
ImGui::EndMenu();
173173
}
174-
if (ImGui::BeginMenu("Frame"))
174+
if (ImGui::BeginMenu(" Frame "))
175175
{
176176
if (ImGui::MenuItem("Textured + Lit", NULL, this->renderMode == TexturedLit))
177177
{

0 commit comments

Comments
 (0)