Fix GLUI ON/OFF switch y position

This commit is contained in:
Jean-André Santoni 2017-01-17 01:29:58 +01:00
parent fae7be1cec
commit 3d4c6d836f

View File

@ -716,7 +716,7 @@ static void mui_render_label_value(mui_handle_t *mui,
mui->icon_size,
texture_switch,
width - mui->margin - mui->icon_size,
y,
y - mui->icon_size/2.0 + mui->line_height/2.0,
width,
height,
0,