Skip to content

Commit 4e89e10

Browse files
remove debug border on sliders
1 parent 42e5c6c commit 4e89e10

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/ui/widgets.c

-3
Original file line numberDiff line numberDiff line change
@@ -200,9 +200,6 @@ oc_ui_box* oc_ui_slider_str8(oc_str8 name, f32* value)
200200
{
201201
oc_ui_tag("slider");
202202

203-
oc_ui_style_set_f32(OC_UI_BORDER_SIZE, 1);
204-
oc_ui_style_set_color(OC_UI_BORDER_COLOR, (oc_color){ 1, 0, 0, 1 });
205-
206203
//NOTE: default size:
207204
oc_ui_style_set_size(OC_UI_WIDTH, (oc_ui_size){ OC_UI_SIZE_PIXELS, 100 });
208205
oc_ui_style_set_size(OC_UI_HEIGHT, (oc_ui_size){ OC_UI_SIZE_PIXELS, 24 });

0 commit comments

Comments
 (0)