fix expression editability condition in watch tables; notes

This commit is contained in:
Ryan Fleury
2025-05-06 13:09:47 -07:00
parent a6eda7db04
commit fe8d7e86fe
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -213,7 +213,6 @@
////////////////////////////////
//~ rjf: 0.9.16 TODO notes
//
// [ ] fix operator precedence in (u64)&foo - merge prefix-unary parsing with atom parsing loop
// [ ] autocompletion lister
// [ ] we probably want to disable pop/pull out for transient things, e.g. theme color cfgs
// (actually, just kill the tabs on load if they refer to transient things)
@@ -530,6 +529,7 @@
// [x] do not apply filters past one block layer
// [x] "pop out" (hitting enter on visualizers should open them as tabs)
// [x] crash bug, release mode - filter globals view (try with debugging raddbg, typing `dev` in globals view)
// [x] fix operator precedence in (u64)&foo - merge prefix-unary parsing with atom parsing loop
////////////////////////////////
//~ rjf: Build Options
+1 -1
View File
@@ -971,7 +971,7 @@ rd_watch_row_info_from_row(Arena *arena, EV_Row *row)
////////////////////////////
//- rjf: fill if row's expression is editable
//
if(block_type->flags & E_TypeFlag_EditableChildren || row->eval.expr == &e_expr_nil)
if(block_type->flags & E_TypeFlag_EditableChildren || (e_key_match(row->eval.key, e_key_zero()) && row->eval.expr == &e_expr_nil))
{
info.expr_is_editable = 1;
}