paint: cleanup

This commit is contained in:
luboslenco
2026-08-23 16:03:04 +02:00
parent 1202b29074
commit 152255d843
21 changed files with 162 additions and 206 deletions
+1 -1
View File
@@ -625,7 +625,7 @@ void render_path_paint_commands_live_brush() {
i32 _pdirty = g_context->pdirty;
g_context->last_paint_vec_x = g_context->paint_vec.x;
g_context->last_paint_vec_y = g_context->paint_vec.y;
if (operator_shortcut(any_map_get(g_keymap, "brush_ruler"), SHORTCUT_TYPE_STARTED)) {
if (keymap_shortcut(any_map_get(g_keymap, "brush_ruler"), SHORTCUT_TYPE_STARTED)) {
g_context->last_paint_vec_x = g_context->last_paint_x;
g_context->last_paint_vec_y = g_context->last_paint_y;
}