Bläddra i källkod

Fix typo in comment (#8494)

Wizard 5 månader sedan
förälder
incheckning
d6493aab02
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      imgui_widgets.cpp

+ 1 - 1
imgui_widgets.cpp

@@ -6207,7 +6207,7 @@ bool ImGui::ColorButton(const char* desc_id, const ImVec4& col, ImGuiColorEditFl
         if (g.Style.FrameBorderSize > 0.0f)
         if (g.Style.FrameBorderSize > 0.0f)
             RenderFrameBorder(bb.Min, bb.Max, rounding);
             RenderFrameBorder(bb.Min, bb.Max, rounding);
         else
         else
-            window->DrawList->AddRect(bb.Min, bb.Max, GetColorU32(ImGuiCol_FrameBg), rounding); // Color button are often in need of some sort of border
+            window->DrawList->AddRect(bb.Min, bb.Max, GetColorU32(ImGuiCol_FrameBg), rounding); // Color buttons are often in need of some sort of border
     }
     }
 
 
     // Drag and Drop Source
     // Drag and Drop Source