paint: begin cursor tool

This commit is contained in:
luboslenco
2026-04-18 12:54:50 +02:00
parent 3150109fff
commit d95bc33b8a
17 changed files with 28 additions and 28 deletions
+2 -2
View File
@@ -535,8 +535,8 @@ bool render_path_paint_paint_enabled() {
bool fill_layer = g_context->layer->fill_layer != 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);
bool gizmo = g_context->tool == TOOL_TYPE_GIZMO;
return !fill_layer && !group_layer && !g_context->foreground_event && !gizmo;
bool cursor = g_context->tool == TOOL_TYPE_CURSOR;
return !fill_layer && !group_layer && !g_context->foreground_event && !cursor;
}
void render_path_paint_live_brush_dirty() {