Skip to content

Commit

Permalink
Reduced width with io rw
Browse files Browse the repository at this point in the history
  • Loading branch information
flightlessmango committed Jun 11, 2020
1 parent e9b1b70 commit df631a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/overlay.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1354,7 +1354,7 @@ void render_imgui(swapchain_stats& data, struct overlay_params& params, ImVec2&
if(loggingOn)
ImGui::GetWindowDrawList()->AddCircleFilled(ImVec2(data.main_window_pos.x + window_size.x - 15, data.main_window_pos.y + 15), 10, params.engine_color, 20);
if ((params.enabled[OVERLAY_PARAM_ENABLED_io_read] || params.enabled[OVERLAY_PARAM_ENABLED_io_write]))
params.width = 15 * params.font_size;
params.width = 13 * params.font_size;
window_size = ImVec2(window_size.x, ImGui::GetCursorPosY() + 10.0f);
ImGui::End();
if (loggingOn && params.log_duration && (now - log_start) >= params.log_duration * 1000000){
Expand Down

0 comments on commit df631a2

Please sign in to comment.