Skip to content

Commit

Permalink
fixing release and adding tooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
wkjarosz committed Dec 18, 2023
1 parent 5d41ec3 commit 9a39f8d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:

- name: Checking that Samplin Safari runs
run: |
${{github.workspace}}/build/${{ env.BUILD_TYPE }}/Samplin\ Safari.app/Contents/MacOS/Samplin\ Safari --help
${{github.workspace}}/build/Samplin\ Safari.app/Contents/MacOS/Samplin\ Safari --help
- name: Creating dmg
run: |
Expand Down
6 changes: 4 additions & 2 deletions src/app.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -668,6 +668,8 @@ void SampleViewer::draw_editor()
}
#endif
}
tooltip("Load points from a CSV text file with points for rows and individual point coordinates as comma "
"separated values per row.");
}

int num_points = m_point_count;
Expand Down Expand Up @@ -717,7 +719,7 @@ void SampleViewer::draw_editor()
int strength = oa->strength();
if (ImGui::InputInt("Strength", &strength, 1))
change_strength(std::max(2, strength));
ImGui::SetItemTooltip("Key: T/t");
tooltip("Key: T/t");

// Controls for the offset type of the OA
auto offset_names = oa->offsetTypeNames();
Expand Down Expand Up @@ -783,7 +785,7 @@ void SampleViewer::draw_editor()
ImGui::SameLine();
{
ImGui::ToggleButton(ICON_FA_COMPRESS, &m_scale_radius_with_points);
ImGui::SetItemTooltip("Scale radius with number of points");
tooltip("Automatically scale radius with number of points");
}

ImGui::Checkbox("1D projections", &m_show_1d_projections);
Expand Down

0 comments on commit 9a39f8d

Please sign in to comment.