0.4.1
Build & Release / build (push) Canceled after 0s

- TextProxy works for any widget that sets PlatformImeData.WantTextInput (+ SelectedText)
- TextProxy: key-code fallback waits for the TextBox (fixes doubled typing); no stuck Ctrl after paste
- Raster: reversed rects (min > max) draw like upstream (fixes ImNodes/ImPlot box select)
- test harness: --module NAME=path loads extra ModuleScripts
- new tests: t_textproxy_custom, t_rect_flip
- extensions/: submodules for imguicolortextedit-luau, imguizmo-luau, implot-luau, implot3d-luau, imnodes-luau
This commit is contained in:
4DBug committed 2026-10-17 07:31:40 -05:00
1 parent c5a0b20132
commit e2d1cf5cf9
24 files changed
+291 -46

No files matched your search

+4
View File
@@ -6408,6 +6408,10 @@ function ImGui.InputTextEx(label, hint, buf, buf_size, size_arg, flags, callback
ImVec2_Copy(ime_data.InputPos, ImVec2(cursor_screen_pos.x - 1.0, cursor_screen_pos.y - g.FontSize))
ime_data.InputLineHeight = g.FontSize
ime_data.ViewportId = window.Viewport.ID
-- [Port] selection for backends (stb positions are 1-based in this port)
if state.Stb and state:HasSelection() then
ime_data.SelectedText = ImGui._ByteArrayToString(state.TextA.Data, ImMin(state.Stb.select_start, state.Stb.select_end), ImMax(state.Stb.select_start, state.Stb.select_end))
end
end
end