aboutsummaryrefslogtreecommitdiff
path: root/teensy
diff options
context:
space:
mode:
authoriamcheeseman <[email protected]>2026-05-22 11:56:47 -0400
committeriamcheeseman <[email protected]>2026-05-22 11:56:47 -0400
commitd5502bcb8422724f00de4d9778cb375e45a8d4d2 (patch)
treebc9c8a24fe18665798caad6720b277998c8eb539 /teensy
parent18d62e0d4c8ff204c9f3dac06f91c101362794e5 (diff)
tyui: do control padding for slider text
Diffstat (limited to 'teensy')
-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
);
}