use mutex to avoid window destroy deadlock, fix vertical slider to increase value upward

This commit is contained in:
2019-03-04 19:32:43 +01:00
parent 6e73a9eee5
commit 801db87e06
9 changed files with 103 additions and 71 deletions

View File

@@ -22,6 +22,11 @@ void NodePanelQuick::init()
init_controls();
}
void NodePanelQuick::set_color(glm::vec3 color)
{
static_cast<NodeBorder*>(m_button_color_current->m_children[0].get())->m_color = glm::vec4(color, 1.f);
}
void NodePanelQuick::init_controls()
{
auto s = find<NodeStrokePreview>("quick-brush1");