Mixer/Panner: Fix azimuth assignment.

This commit is contained in:
Jonathan Moore Liles 2010-02-24 09:06:40 -06:00
parent fc31233d70
commit 93a6d878f2
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ class Panner : public Fl_Widget
void azimuth ( float v )
{
a = v < -180.0f ? 360.0f - v : v;
a = v < 0.0f ? v + 360.0f : v;
a = a < 0.0f ? 0.0f : a > 360.0f ? 360.0f : a;
}