paint: cursor picking fixes

This commit is contained in:
luboslenco
2026-08-26 14:16:17 +02:00
parent f33b945275
commit da63c1d5bb
2 changed files with 12 additions and 6 deletions
+4
View File
@@ -807,6 +807,10 @@ bool render_path_paint_paint_enabled() {
return true;
}
if (g_context->tool == TOOL_TYPE_CURSOR) {
return true;
}
bool fill_layer = g_context->layer->fill_material != NULL && g_context->tool != TOOL_TYPE_PICKER && g_context->tool != TOOL_TYPE_MATERIAL &&
g_context->tool != TOOL_TYPE_COLORID;
bool group_layer = slot_layer_is_group(g_context->layer);