remove unused test code, fix presets panel height on high dp, update quick panel on alt+rdrag resize
This commit is contained in:
@@ -190,8 +190,7 @@ void CanvasModePen::on_MouseEvent(MouseEvent* me, glm::vec2& loc)
|
||||
auto diff = m_cur_pos - m_size_pos_start;
|
||||
auto curve = App::I.stroke->m_curves[App::I.stroke->m_tip_size];
|
||||
Canvas::I->m_current_brush->m_tip_size = glm::max(curve.to_value(m_size_value_start + diff.x * 0.001f), 0.001f);
|
||||
if (App::I.stroke)
|
||||
App::I.stroke->update_controls();
|
||||
App::I.brush_update();
|
||||
}
|
||||
m_cur_pos = loc;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user