Skip to content

Commit

Permalink
Extend weight multiplier to 2.5
Browse files Browse the repository at this point in the history
  • Loading branch information
rollerozxa committed Sep 1, 2024
1 parent 40c26c0 commit d1cdbe2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/src/weight.cc
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,13 @@ weight::get_slider_value(int s)
float
weight::get_slider_snap(int s)
{
return 1.f / 10.f;
return 1.f / 20.f;
}

void
weight::on_slider_change(int s, float value)
{
float v = (.5f + value);
float v = (.5f + value*2);
this->set_property(0, v);
G->show_numfeed(v);
}

0 comments on commit d1cdbe2

Please sign in to comment.