From faa3c6615423813dfacb8a3410bd6dabf7719b22 Mon Sep 17 00:00:00 2001 From: omar Date: Tue, 13 Feb 2018 20:49:36 +0100 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ac0b1c38..1370865c 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,7 @@ ImGui::SliderFloat("float", &f, 0.0f, 1.0f); ```cpp // C++ code -// Created a window called "My First Tool" with a menu bar. +// Create a window called "My First Tool", with a menu bar. ImGui::Begin("My First Tool", &my_tool_active, ImGuiWindowFlags_MenuBar); if (ImGui::BeginMenuBar()) { @@ -73,7 +73,7 @@ ImGui::PlotLines("Frame Times", my_values, IM_ARRAYSIZE(my_values)); // Display contents in a scrolling region ImGui::TextColored(ImVec4(1,1,0,1), "Important Stuff"); -ImGui::BeginChild("Scrolling", ImVec2(0,0), true); +ImGui::BeginChild("Scrolling"); for (int n = 0; n < 50; n++) ImGui::Text("%04d: Some text", n); ImGui::EndChild();