dual-brush blend modes
This commit is contained in:
@@ -146,11 +146,9 @@ void NodePanelStroke::init_controls()
|
||||
m_preview->draw_stroke();
|
||||
m_preset_preview->draw_stroke();
|
||||
m_brush_thumb->set_image(b->m_brush_thumb_path);
|
||||
m_dual_brush_thumb->set_image(b->m_dual_thumb_path);
|
||||
m_preset_thumb->set_image(b->m_brush_thumb_path);
|
||||
update_controls();
|
||||
|
||||
//m_presets_popup->mouse_release();
|
||||
//m_presets_popup->parent->remove_child(m_presets_popup.get());
|
||||
};
|
||||
};
|
||||
|
||||
@@ -299,7 +297,7 @@ void NodePanelStroke::init_controls()
|
||||
on_stroke_change(this);
|
||||
};
|
||||
|
||||
m_dual_blend_mode = find<NodeComboBox>("blend-mode");
|
||||
m_dual_blend_mode = find<NodeComboBox>("dual-blend-mode");
|
||||
m_dual_blend_mode->on_select = [this](Node*, int index) {
|
||||
Canvas::I->m_current_brush->m_dual_blend_mode = index;
|
||||
m_preview->draw_stroke();
|
||||
|
||||
Reference in New Issue
Block a user