fix iOS short stroke preview

This commit is contained in:
2019-01-26 01:02:48 +01:00
parent 14b26c8902
commit 6f3465392b
3 changed files with 3 additions and 1 deletions

View File

@@ -69,6 +69,7 @@ void NodeStrokePreview::draw_stroke()
glm::mat4 proj = glm::ortho<float>(0, (float)m_rtt.getWidth(), 0, (float)m_rtt.getHeight(), -1, 1);
const auto& b = m_brush;
m_stroke.m_filter_points = false;
m_stroke.m_max_size = m_size.y / 800.f * App::I.zoom;
m_stroke.m_camera.fov = Canvas::I->m_cam_fov;
m_stroke.m_camera.rot = Canvas::I->m_cam_rot;