Fix brush using wrong initial thickness value (#2005)

* Wrong initial thickness value fix
This commit is contained in:
manongjohn 2018-05-28 01:21:06 -04:00 committed by shun-iwasawa
parent bf6c847f1e
commit ff6f0e1b89

View file

@ -1341,7 +1341,7 @@ void BrushTool::leftButtonDown(const TPointD &pos, const TMouseEvent &e) {
/*--- ストロークの最初にMaxサイズの円が描かれてしまう不具合を防止する ---*/
if (m_pressure.getValue() && e.m_pressure == 1.0)
thickness = m_rasThickness.getValue().first;
thickness = m_thickness.getValue().first * 0.5;
m_currThickness = thickness;
m_smoothStroke.beginStroke(m_smooth.getValue());