projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
434b459
)
fix off by one error on unity gain line
author
Paul Davis
<paul@linuxaudiosystems.com>
Tue, 21 Nov 2006 22:03:16 +0000
(22:03 +0000)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Tue, 21 Nov 2006 22:03:16 +0000
(22:03 +0000)
git-svn-id: svn://localhost/ardour2/trunk@1153
d708f5d6
-7413-0410-9779-
e7cbd77b26cf
libs/gtkmm2ext/pixfader.cc
patch
|
blob
|
history
diff --git
a/libs/gtkmm2ext/pixfader.cc
b/libs/gtkmm2ext/pixfader.cc
index aebcd7d1b31cec55ccc138b4cd226ed7511e33a0..f0ba652052f7dd37d484f9289cb93eaa16a52116 100644
(file)
--- a/
libs/gtkmm2ext/pixfader.cc
+++ b/
libs/gtkmm2ext/pixfader.cc
@@
-41,7
+41,7
@@
PixFader::PixFader (Glib::RefPtr<Pixbuf> belt, Gtk::Adjustment& adj)
view.width = pixbuf->get_width();
view.height = pixheight / 2;
- unity_y = (int) rint (view.height - (default_value * view.height));
+ unity_y = (int) rint (view.height - (default_value * view.height))
- 1
;
add_events (Gdk::BUTTON_PRESS_MASK|Gdk::BUTTON_RELEASE_MASK|Gdk::POINTER_MOTION_MASK|Gdk::SCROLL_MASK);