paint: cleanup
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user