Commit 3dcd08f3 authored by Tom Tom's avatar Tom Tom Committed by Dmitry Kazakov
Browse files

Fix slider steps for dynamic brush tool settings

parent 1fffa7e3
......@@ -276,13 +276,15 @@ QWidget * KisToolDyna::createOptionWidget()
QLabel* massLbl = new QLabel(i18n("Mass:"), optionsWidget);
m_massSPBox = new KisDoubleSliderSpinBox(optionsWidget);
m_massSPBox->setRange(0.0,1.0,2);
m_massSPBox->setRange(0.0,1.0,2);
m_massSPBox->setSingleStep(.01);
connect(m_massSPBox, SIGNAL(valueChanged(qreal)), this, SLOT(slotSetMass(qreal)));
KisToolFreehand::addOptionWidgetOption(m_massSPBox,massLbl);
QLabel* dragLbl = new QLabel(i18n("Drag:"), optionsWidget);
m_dragSPBox = new KisDoubleSliderSpinBox(optionsWidget);
m_dragSPBox->setRange(0.0,1.0,2);
m_dragSPBox->setSingleStep(.01);
connect(m_dragSPBox, SIGNAL(valueChanged(qreal)), this, SLOT(slotSetDrag(qreal)));
KisToolFreehand::addOptionWidgetOption(m_dragSPBox,dragLbl);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment