Add an extra background to the button that maintains the state of the pressed button color opacity. This ensures the highlighted button color will be based on the button color instead of the color of the item the button is added to.
svn path=/trunk/; revision=53
This commit is contained in:
@ -14,7 +14,7 @@ const TRAY_HEIGHT = 24;
|
||||
const PANEL_BACKGROUND_COLOR = new Clutter.Color();
|
||||
PANEL_BACKGROUND_COLOR.from_pixel(0xeeddccff);
|
||||
const PRESSED_BUTTON_BACKGROUND_COLOR = new Clutter.Color();
|
||||
PRESSED_BUTTON_BACKGROUND_COLOR.from_pixel(0xddccbbff);
|
||||
PRESSED_BUTTON_BACKGROUND_COLOR.from_pixel(0xccbbaaff);
|
||||
|
||||
function Panel() {
|
||||
this._init();
|
||||
|
Reference in New Issue
Block a user