aboutsummaryrefslogtreecommitdiff
path: root/teensy/teensy_ui.c
diff options
context:
space:
mode:
Diffstat (limited to 'teensy/teensy_ui.c')
-rw-r--r--teensy/teensy_ui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/teensy/teensy_ui.c b/teensy/teensy_ui.c
index 98c7277..bdb4e91 100644
--- a/teensy/teensy_ui.c
+++ b/teensy/teensy_ui.c
@@ -492,7 +492,7 @@ void tyui_slider_ex(
if (show_value) {
text_cmd(
ty_format(uictx.style.slider_fmt, (int)round(value)),
- rect,
+ ty_recti_shrink(rect, control_padding()),
value_align
);
}