# HG changeset patch # User unc0rr # Date 1331708842 -14400 # Node ID 2c02ccb8f4ec6f6c955c3c6d99e67fe494227df5 # Parent 8d9160b85bdb52563737d03ed3605b74f22fa582 Oops, fix range (2 is too small value) diff -r 8d9160b85bdb -r 2c02ccb8f4ec QTfrontend/drawmapscene.cpp --- a/QTfrontend/drawmapscene.cpp Tue Mar 13 22:25:43 2012 -0400 +++ b/QTfrontend/drawmapscene.cpp Wed Mar 14 11:07:22 2012 +0400 @@ -40,7 +40,7 @@ gradient.setColorAt(1, QColor(155, 155, 60)); setBackgroundBrush(QBrush(gradient)); - m_pen.setWidth(72); + m_pen.setWidth(76); m_pen.setJoinStyle(Qt::RoundJoin); m_pen.setCapStyle(Qt::RoundCap); m_currPath = 0; @@ -102,9 +102,9 @@ void DrawMapScene::wheelEvent(QGraphicsSceneWheelEvent * wheelEvent) { - if(wheelEvent->delta() > 0 && m_pen.width() < 512) + if(wheelEvent->delta() > 0 && m_pen.width() < 516) m_pen.setWidth(m_pen.width() + 10); - else if(wheelEvent->delta() < 0 && m_pen.width() >= 12) + else if(wheelEvent->delta() < 0 && m_pen.width() >= 16) m_pen.setWidth(m_pen.width() - 10); if(m_currPath)