diff options
Diffstat (limited to 'src/ui.c')
-rw-r--r-- | src/ui.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -305,8 +305,8 @@ ui_mousel_down(int x, int y) ui_redraw_panel(UI_PANELTYPE_CANVAS); } else if (x <= 162) { y = cur_canvas->layer_arr_cnt-y-1; - y -= (int)(cur_canvas->cur_layer); - user_layer_chng(&y); + canvas_change_layer(cur_canvas, y); + ui_redraw_panel(UI_PANELTYPE_TIMELINE); } break; } |