Internal: InputText: Minor changes (intended to have side-effect but clarify next commit, however there is rarely such a thing as zero side effect in InputText land!)
// We have an edge case if ActiveId was set through another widget (e.g. widget being swapped), clear id immediately (don't wait until the end of the function)
if(g.ActiveId==id&&state==NULL)
ClearActiveID();
// Release focus when we click outside
if(!init_make_active&&io.MouseClicked[0])
clear_active_id=true;
// We have an edge case if ActiveId was set through another widget (e.g. widget being swapped)
if(g.ActiveId==id&&state==NULL)
ClearActiveID();
boolvalue_changed=false;
boolenter_pressed=false;
intbackup_current_text_length=0;
// Process mouse inputs and character inputs
if(g.ActiveId==id)
// When read-only we always use the live data passed to the function