diff --git a/editor/src/editor/GUIPiano.cpp b/editor/src/editor/GUIPiano.cpp index dd7d6cf5..2c17ddc4 100644 --- a/editor/src/editor/GUIPiano.cpp +++ b/editor/src/editor/GUIPiano.cpp @@ -92,7 +92,7 @@ void SPiano::draw(CDrawContext* dc) CRect textRect( rect.left, dim.labelBounds.top, rect.right, dim.labelBounds.bottom); - dc->setFont(font_); + dc->setFont(font); dc->setFontColor(labelStroke_); std::string text = std::to_string(static_cast(o) - 1); dc->drawString(text.c_str(), textRect, kCenterText);