From e24ec3d431e5db124e4ca4efed8bf6ab3d66cba8 Mon Sep 17 00:00:00 2001 From: Christoph Haag Date: Thu, 2 Jun 2022 15:29:57 +0200 Subject: [PATCH] st/gui: Use int input for remote driver port --- src/xrt/state_trackers/gui/gui_scene_remote.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xrt/state_trackers/gui/gui_scene_remote.c b/src/xrt/state_trackers/gui/gui_scene_remote.c index ea6794829..ad2efe821 100644 --- a/src/xrt/state_trackers/gui/gui_scene_remote.c +++ b/src/xrt/state_trackers/gui/gui_scene_remote.c @@ -364,7 +364,7 @@ static void on_not_connected(struct gui_remote *gr, struct gui_program *p) { igInputText("Address", gr->address, sizeof(gr->address), 0, NULL, NULL); - igSliderInt("Port", &gr->port, 0, UINT16_MAX, "%i", 0); + igInputInt("Port", &gr->port, 1, 1, 0); bool connect = igButton("Connect", zero_dims);