fix layer delete order bug, fix and improve brush preview during the stroke, fix windows mouse capture (api works only on the main thread)
This commit is contained in:
@@ -179,7 +179,7 @@ void App::init_sidebar()
|
||||
};
|
||||
|
||||
layers->on_layer_delete = [this](Node*, int idx) {
|
||||
canvas->m_canvas->layer_remove(canvas->m_canvas->m_order[idx]);
|
||||
canvas->m_canvas->layer_remove(idx);
|
||||
};
|
||||
|
||||
layers->on_layer_opacity_changed = [this](Node*, int idx, float value) {
|
||||
|
||||
Reference in New Issue
Block a user