summaryrefslogtreecommitdiff
path: root/gtk2_ardour/diamond.cc
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-08-04 15:51:04 +0000
committerDavid Robillard <d@drobilla.net>2007-08-04 15:51:04 +0000
commit2f7bb0945307851430909630bb3632dc3ee2f694 (patch)
tree17f1637976bc04b5aceede600cd0973ab15bdff7 /gtk2_ardour/diamond.cc
parenta5abcd306ba589411aa8b4e5b2729621bdc77d3a (diff)
Line up percussion hits correctly.
git-svn-id: svn://localhost/ardour2/trunk@2241 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/diamond.cc')
-rw-r--r--gtk2_ardour/diamond.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/diamond.cc b/gtk2_ardour/diamond.cc
index 31761597cd..53341cf246 100644
--- a/gtk2_ardour/diamond.cc
+++ b/gtk2_ardour/diamond.cc
@@ -26,7 +26,7 @@ Diamond::Diamond(Group& group, double height)
: Polygon(group)
{
Points points;
- points.push_back(Point(0, height*2));
+ points.push_back(Point(0, height*2.0));
points.push_back(Point(height, height));
points.push_back(Point(0, 0));
points.push_back(Point(-height, height));