Skip to content

Commit

Permalink
Updated release date.
Browse files Browse the repository at this point in the history
Changed speed of link length sliders.
  • Loading branch information
qoala101 committed Jul 29, 2023
1 parent 600ea7a commit 21d302c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/draw/dialog/draw_about_dialog.cc
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ void AboutDialog::Draw() {
ImGui::TextUnformatted("https://github.com/qoala101/ponc");

DrawSettingsTableRow("Date");
ImGui::TextUnformatted("July 23, 2023");
ImGui::TextUnformatted("July 29, 2023");

DrawSettingsTableRow("License");
ImGui::TextUnformatted("MIT");
Expand Down
6 changes: 3 additions & 3 deletions src/draw/view/draw_settings_view.cc
Original file line number Diff line number Diff line change
Expand Up @@ -84,13 +84,13 @@ void DrawLinkThickness(core::Settings& settings) {
DrawLink(style::DefaultSizes::kMinThickness);
ImGui::Dummy(dummy_size);
ImGui::SameLine();
ImGui::DragFloat("Thin", &settings.min_length, 1, 0, settings.max_length,
"%.3f");
ImGui::DragFloat("Thin", &settings.min_length, 0.1, 0,
settings.max_length, "%.3f");

DrawLink(style::DefaultSizes::kMaxThickness);
ImGui::Dummy(dummy_size);
ImGui::SameLine();
ImGui::DragFloat("Thick", &settings.max_length, 1, settings.min_length,
ImGui::DragFloat("Thick", &settings.max_length, 0.1, settings.min_length,
std::numeric_limits<float>::max(), "%.3f");
}

Expand Down

0 comments on commit 21d302c

Please sign in to comment.