Commit 12cda907 authored by Ivica Bukvic's avatar Ivica Bukvic
Browse files

*fixed regressions introduced with earlier Mathieu's commit

parent afb189f4
......@@ -1031,7 +1031,6 @@ void iemgui_draw_update(t_iemgui *x, t_glist *glist) {
void iemgui_draw_new(t_iemgui *x) {
x->x_draw(x, x->x_glist, IEM_GUI_DRAW_MODE_NEW);
iemgui_label_draw_new(x);
iemgui_draw_io(x,7);
canvas_raise_all_cords(glist_getcanvas(x->x_glist)); // used to be inside x_draw
}
......
......@@ -472,6 +472,11 @@ static void my_numbox_dialog(t_my_numbox *x, t_symbol *s, int argc,
//iemgui_draw_move(&x->x_gui);
//iemgui_draw_config(&x->x_gui);
scalehandle_draw(&x->x_gui);
if (x->x_gui.x_selected)
{
scalehandle_draw(&x->x_gui,x->x_gui.x_glist);
iemgui_select((t_gobj *)x,x->x_gui.x_glist,1);
}
//canvas_restore_original_position(x->x_gui.x_glist, (t_gobj *)x,"bogus",-1);
scrollbar_update(x->x_gui.x_glist);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment