MCPcopy Create free account
hub / github.com/TKazer/CS2_External / InputTextDeactivateHook

Method InputTextDeactivateHook

CS2_External/OS-ImGui/imgui/imgui_widgets.cpp:4046–4055  ·  view source on GitHub ↗

As InputText() retain textual data and we currently provide a path for user to not retain it (via local variables) we need some form of hook to reapply data back to user buffer on deactivation frame. (#4714) It would be more desirable that we discourage users from taking advantage of the "user not retaining data" trick, but that more likely be attractive when we do have _NoLiveEdit flag available.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected