st/gui: Improve word choice/clarity

This commit is contained in:
Ryan Pavlik 2022-05-17 15:28:01 -05:00
parent ce092d5e8e
commit 26b522d1d2
2 changed files with 3 additions and 3 deletions

View file

@ -273,10 +273,10 @@ on_elem(struct u_var_info *info, void *priv)
const float drag_speed = 0.2f;
const float power = 1.0f;
const ImVec2 dummy = {0, 0};
const ImVec2 scratch = {0, 0};
ImGuiColorEditFlags flags =
ImGuiColorEditFlags_NoInputs | ImGuiColorEditFlags_NoLabel | ImGuiColorEditFlags_PickerHueWheel;
(void)dummy;
(void)scratch;
ImGuiInputTextFlags i_flags = ImGuiInputTextFlags_None;
ImGuiInputTextFlags ro_i_flags = ImGuiInputTextFlags_ReadOnly;

View file

@ -273,7 +273,7 @@ scene_render(struct gui_scene *scene, struct gui_program *p)
ts->overrides[i].tracker_device_serial);
if (igCheckbox(buf, &checked)) {
// abort adding override when clicking to edit one
// skip adding override when clicking to edit one
ts->gui_add_override_active = false;
ts->gui_edit_override_index = i;