Skip to content

Commit

Permalink
Merge branch 'hotfix/1.1.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
ctreffs committed Jan 23, 2020
2 parents f42759e + 25ebe1a commit 75367d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Demos/Minimal/main.swift
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ for n in 0..<20 {
// ImGui::Text("Hello, world!");
ImGuiTextV("Hello, world!")
// ImGui::SliderFloat("float", &f, 0.0f, 1.0f);
ImGuiSliderFloat("float", &f, 0.0, 1.0, nil, 1)
ImGuiSliderFloat("float", &f, 0.0, 1.0, "", 1)
// ImGui::Text("Application average %.3f ms/frame (%.1f FPS)", 1000.0f / io.Framerate, io.Framerate);
ImGuiTextV("Application average %.3f ms/frame (%.1f FPS)", 1000.0 / io.pointee.Framerate, io.pointee.Framerate)

Expand Down

0 comments on commit 75367d8

Please sign in to comment.