From 0409e89f250b03f468581ee7c8a1683b06cbc8d6 Mon Sep 17 00:00:00 2001 From: Jonathan Wilkes <jon.w.wilkes@gmail.com> Date: Fri, 18 Nov 2016 17:50:04 -0500 Subject: [PATCH] fix #158: strange [hslider] & [vslider] gui behaviour --- pd/src/g_slider.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pd/src/g_slider.c b/pd/src/g_slider.c index d8b339551..896f0377d 100644 --- a/pd/src/g_slider.c +++ b/pd/src/g_slider.c @@ -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); -- GitLab