InputTextMultiline: fixed an issue calculating lines count when inactive, no word-wrap, and ending with a \n.

Amend 1e52e7b90c (#3237, #952, #1062, #7363)
This commit is contained in:
ocornut
2026-03-18 20:12:14 +01:00
parent 6abe65aac6
commit 4252275c64
3 changed files with 8 additions and 2 deletions
+1 -1
View File
@@ -30,7 +30,7 @@
// Library Version
// (Integer encoded as XYYZZ for use in #if preprocessor conditionals, e.g. '#if IMGUI_VERSION_NUM >= 12345')
#define IMGUI_VERSION "1.92.7 WIP"
#define IMGUI_VERSION_NUM 19265
#define IMGUI_VERSION_NUM 19266
#define IMGUI_HAS_TABLE // Added BeginTable() - from IMGUI_VERSION_NUM >= 18000
#define IMGUI_HAS_TEXTURES // Added ImGuiBackendFlags_RendererHasTextures - from IMGUI_VERSION_NUM >= 19198