mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-08 07:45:00 +01:00
Fix rounding of automation view point positions. Fixes remainder of #3329.
git-svn-id: svn://localhost/ardour2/branches/3.0@7869 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
bf83719ca0
commit
ef62a039b9
1 changed files with 1 additions and 1 deletions
|
|
@ -1212,7 +1212,7 @@ AutomationLine::view_to_model_coord_y (double& y) const
|
|||
} else if (alist->parameter().type() == PluginAutomation) {
|
||||
y = y * (double)(alist->get_max_y()- alist->get_min_y()) + alist->get_min_y();
|
||||
} else {
|
||||
y = (int)(y * alist->parameter().max());
|
||||
y = rint (y * alist->parameter().max());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue