abr opacity jitter value, longer presets popup
This commit is contained in:
@@ -168,6 +168,7 @@ void NodePanelStroke::update_controls()
|
||||
m_tip_angle_follow->checked = b->m_tip_angle_follow;
|
||||
m_tip_angle_init->checked = b->m_tip_angle_init;
|
||||
m_tip_flow_pressure->checked = b->m_tip_flow_pressure;
|
||||
m_tip_opacity_pressure->checked = b->m_tip_opacity_pressure;
|
||||
m_tip_size_pressure->checked = b->m_tip_size_pressure;
|
||||
m_jitter_aspect_bothaxis->checked = b->m_jitter_aspect_bothaxis;
|
||||
|
||||
@@ -281,6 +282,8 @@ void NodePanelStroke::init_controls()
|
||||
tick->SetSize(16, 32);
|
||||
tick->SetPosition(pos.x, pos.y + (m_preset_button->m_size.y - 32) * 0.5f);
|
||||
tick->set_image("data/ui/popup-tick.png");
|
||||
float hh = m_presets_popup->m_container->m_children.size() > 10 ? App::I.height * .75f : 400.f;
|
||||
m_presets_popup->SetSize(300, glm::max(hh, 400.f));
|
||||
root()->update();
|
||||
if ((pos.y + m_presets_popup->m_size.y) > screen.y)
|
||||
pos.y = screen.y - m_presets_popup->m_size.y;
|
||||
|
||||
Reference in New Issue
Block a user