Mercurial > hg > svgui
comparison layer/WaveformLayer.cpp @ 1344:13d03ae0c6e0 zoom
This is the correct size
author | Chris Cannam |
---|---|
date | Fri, 28 Sep 2018 09:12:54 +0100 |
parents | 5f3e374746b6 |
children | 4949061fcb8c |
comparison
equal
deleted
inserted
replaced
1343:5f3e374746b6 | 1344:13d03ae0c6e0 |
---|---|
964 else drawMean = false; | 964 else drawMean = false; |
965 } | 965 } |
966 | 966 |
967 if (showIndividualSample) { | 967 if (showIndividualSample) { |
968 paint->setPen(baseColour); | 968 paint->setPen(baseColour); |
969 paint->drawRect(x-1, rangeTop-1, 3, 3); | 969 paint->drawRect(x-1, rangeTop-1, 2, 2); |
970 } | 970 } |
971 | 971 |
972 if (x != x0 && prevRangeBottom != -1) { | 972 if (x != x0 && prevRangeBottom != -1) { |
973 if (prevRangeBottom > rangeBottom + 1 && | 973 if (prevRangeBottom > rangeBottom + 1 && |
974 prevRangeTop > rangeBottom + 1) { | 974 prevRangeTop > rangeBottom + 1) { |