Commit 0409e89f authored by Jonathan Wilkes's avatar Jonathan Wilkes
Browse files

fix #158: strange [hslider] & [vslider] gui behaviour

parent 9f012760
......@@ -149,7 +149,7 @@ static void slider__motionhook(t_scalehandle *sh, t_floatarg mouse_x, t_floatarg
miny = x->x_orient ? IEM_SL_MINSIZE : IEM_GUI_MINSIZE;
x->x_gui.x_w = maxi(width, minx);
x->x_gui.x_h = maxi(height, miny);
slider_check_length(x, x->x_orient ? x->x_gui.x_h : x->x_gui.x_w);
if (glist_isvisible(x->x_gui.x_glist))
{
slider_draw_move(x, 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