Skip to content

Commit 744b83a

Browse files
committed
fix: message
1 parent e6ab798 commit 744b83a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

imgui_skia/imgui_w_hooks_1.91.9_wip/imgui_widgets.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5294,6 +5294,7 @@ bool ImGui::InputTextEx(const char* label, const char* hint, char* buf, int buf_
52945294
}
52955295
else
52965296
{
5297+
//fprintf(stderr,"len=%d,selected text=%.*s\n",int(text_selected_end-p),int(text_selected_end-p),p);
52975298
ImVec2 rect_size = InputTextCalcTextSize(&g, p, text_selected_end, &p, NULL, true);
52985299
if (rect_size.x <= 0.0f) rect_size.x = IM_TRUNC(g.Font->GetCharAdvance((ImWchar)' ') * 0.50f); // So we can see selected empty lines
52995300
ImRect rect(rect_pos + ImVec2(0.0f, bg_offy_up - g.FontSize), rect_pos + ImVec2(rect_size.x, bg_offy_dn));

0 commit comments

Comments
 (0)