increase stroke preview pad, fix message box capture behavior
This commit is contained in:
@@ -283,9 +283,10 @@ void NodeStrokePreview::draw_stroke()
|
||||
}
|
||||
|
||||
{
|
||||
float pad = glm::max(glm::min(m_stroke.m_max_size, m_brush->m_tip_size) / 2.f, 10.f);
|
||||
|
||||
float pad = (5.f + glm::max(glm::min(m_stroke.m_max_size, m_brush->m_tip_size) / 2.f, 10.f)) * App::I.zoom;
|
||||
if (b->m_tip_size_pressure)
|
||||
pad = 10.f;
|
||||
pad = 10.f * App::I.zoom;
|
||||
float w = m_size.x * App::I.zoom;
|
||||
float h = m_size.y * App::I.zoom;
|
||||
std::vector<glm::vec2> kp = {
|
||||
|
||||
Reference in New Issue
Block a user