Make the black key lighten on click

This commit is contained in:
Jean Pierre Cimalando 2021-03-07 08:57:56 +01:00
parent 1b515a1b33
commit 4a91d5c724

View file

@ -220,7 +220,7 @@ void SPiano::draw(CDrawContext* dc)
}
if (impl.keyval_[key])
hcy.y = std::max(0.0f, hcy.y - impl.keyLumaPressDelta_);
hcy.y = std::min(1.0f, hcy.y + impl.keyLumaPressDelta_);
CColor keycolor = hcy.toColor();
dc->setFillColor(keycolor);