Initially, ImGui's mouse position is invalid. Some crazy huge number is used as a magic value to check for this. ImGui has a function to do this. I've added a check around where the mouse pos is translated into a tool tip. This fixes an 'undefined behavior sanitizer' issue through XCode.
Initially, ImGui's mouse position is invalid. Some crazy huge number is used as a magic value to check for this. ImGui has a function to do this. I've added a check around where the mouse pos is translated into a tool tip. This fixes an 'undefined behavior sanitizer' issue through XCode.

BalazsJako/ImGuiColorTextEdit