Skip to content

Commit

Permalink
♻️ Rename spread_marks_evenly() as distribute_marks_evenly()
Browse files Browse the repository at this point in the history
  • Loading branch information
JulesFouchy committed Jun 5, 2023
1 parent 72513e8 commit 58015a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Gradient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ auto Gradient::interpolation_mode() -> Interpolation&
return _interpolation_mode;
}

void Gradient::spread_marks_evenly()
void Gradient::distribute_marks_evenly()
{
if (_marks.empty())
return;
Expand Down
2 changes: 1 addition & 1 deletion src/Gradient.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class Gradient {
auto interpolation_mode() const -> Interpolation;
auto interpolation_mode() -> Interpolation&;

void spread_marks_evenly();
void distribute_marks_evenly();

auto get_marks() const -> const std::list<Mark>&;

Expand Down

0 comments on commit 58015a6

Please sign in to comment.