projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb296b2
)
quick fix for weird colorselection bug where alpha gets set to 0 if it wasnt changed...
author
Doug McLain
<doug@nostar.net>
Fri, 29 Jun 2007 09:30:10 +0000
(09:30 +0000)
committer
Doug McLain
<doug@nostar.net>
Fri, 29 Jun 2007 09:30:10 +0000
(09:30 +0000)
git-svn-id: svn://localhost/ardour2/trunk@2083
d708f5d6
-7413-0410-9779-
e7cbd77b26cf
gtk2_ardour/theme_manager.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/theme_manager.cc
b/gtk2_ardour/theme_manager.cc
index ffceb36109845302e902a509b2a34c073569329e..11600167508aaac2869369f48fb74c20cf164cbc 100644
(file)
--- a/
gtk2_ardour/theme_manager.cc
+++ b/
gtk2_ardour/theme_manager.cc
@@
-145,7
+145,7
@@
ThemeManager::button_press_event (GdkEventButton* ev)
g = (int) floor (color.get_green_p() * 255.0);
b = (int) floor (color.get_blue_p() * 255.0);
- rgba = RGBA_TO_UINT(r,g,b,a);
+ rgba = RGBA_TO_UINT(r,g,b,a
>>8
);
//cerr << (*iter)[columns.name] << " == " << hex << rgba << endl;
(*iter)[columns.rgba] = rgba;
(*iter)[columns.gdkcolor] = color;