mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-30 17:03:06 +01:00
quick fix for weird colorselection bug where alpha gets set to 0 if it wasnt changed from previous value
git-svn-id: svn://localhost/ardour2/trunk@2083 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
eb296b2c95
commit
a67dcdc267
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue