mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 16:37:47 +00:00
Piano: Highlight pressed key in roll widget
This commit is contained in:
parent
0c5497829e
commit
01bff0141e
6 changed files with 25 additions and 1 deletions
|
@ -117,7 +117,7 @@ public:
|
|||
m_value |= value;
|
||||
}
|
||||
|
||||
Color with_alpha(u8 alpha)
|
||||
Color with_alpha(u8 alpha) const
|
||||
{
|
||||
return Color((m_value & 0x00ffffff) | alpha << 24);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue