# HG changeset patch # User Chris Cannam # Date 1173290449 0 # Node ID 403bfb88d8d6519a6e1cdbe73fc0db5b625a2485 # Parent cd81066ac7adf81abe6355fc5e484387bffa6efb * Add display of selection extents in status bar when dragging a selection * Some build fixes after that i18n update diff -r cd81066ac7ad -r 403bfb88d8d6 view/Pane.cpp --- a/view/Pane.cpp Wed Mar 07 17:07:02 2007 +0000 +++ b/view/Pane.cpp Wed Mar 07 18:00:49 2007 +0000 @@ -384,7 +384,6 @@ } const Model *waveformModel = 0; // just for reporting purposes - int verticalScaleWidth = 0; int fontHeight = paint.fontMetrics().height(); int fontAscent = paint.fontMetrics().ascent(); @@ -596,8 +595,8 @@ .arg(modelRate) .arg(srNote); - if (r.x() < verticalScaleWidth + 5 + paint.fontMetrics().width(desc)) { - drawVisibleText(paint, verticalScaleWidth + 5, + if (r.x() < m_scaleWidth + 5 + paint.fontMetrics().width(desc)) { + drawVisibleText(paint, m_scaleWidth + 5, height() - fontHeight + fontAscent - 6, desc, OutlinedText); }