Changeset - 3dcdee629416
[Not reviewed]
default
0 1 0
Hasan Yavuz Ă–ZDERYA - 8 years ago 2017-10-05 06:16:31
hy@ozderya.net
display cursor tracker always
1 file changed with 3 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/zoomer.cpp
Show inline comments
 
@@ -28,6 +28,8 @@ Zoomer::Zoomer(QWidget* widget, bool doR
 
{
 
    is_panning = false;
 

	
 
    setTrackerMode(AlwaysOn);
 

	
 
    // set corner widget between the scrollbars with default background color
 
    auto cornerWidget = new QWidget();
 
    auto bgColor = cornerWidget->palette().color(QPalette::Window).name();
 
@@ -62,7 +64,7 @@ QwtText Zoomer::trackerTextF(const QPoin
 
    QwtText b = ScrollZoomer::trackerTextF(pos);
 

	
 
    const QPolygon pa = selection();
 
    if (pa.count() < 2)
 
    if (!isActive() || pa.count() < 2)
 
    {
 
        return b;
 
    }
0 comments (0 inline, 0 general)