QTfrontend/drawmapscene.cpp
changeset 6784 2c02ccb8f4ec
parent 6781 23f627ba8ee9
child 6873 30840365af0a
--- 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)