mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-11-15 10:40:12 -08:00
never build hover evals if we cannot evaluate the root expression successfully
This commit is contained in:
1 parent
82803e710e
commit
fa7143a3e4
1 file changed
+7
@@ -6174,6 +6174,13 @@ rd_window_frame(void)
|
||||
#endif
|
||||
}
|
||||
|
||||
// rjf: evaluate hover-evaluation expression - if it doesn't evaluate, then don't build anything
|
||||
E_Eval hover_eval = e_eval_from_string(scratch.arena, ws->hover_eval_string);
|
||||
if(hover_eval.msgs.max_kind > E_MsgKind_Null)
|
||||
{
|
||||
build_hover_eval = 0;
|
||||
}
|
||||
|
||||
// rjf: reset open animation
|
||||
if(ws->hover_eval_string.size == 0)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user