1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 00:57:45 +00:00

Piano: Highlight pressed key in roll widget

This commit is contained in:
Peter Elliott 2020-10-05 20:31:01 -07:00 committed by Andreas Kling
parent 0c5497829e
commit 01bff0141e
6 changed files with 25 additions and 1 deletions

View file

@ -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);
}