mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-07-21 23:12:01 -07:00
silently filter access violations in asan's shadow address space
This commit is contained in:
+4
-4
@@ -3501,14 +3501,14 @@ df_window_update_and_render(Arena *arena, OS_EventList *events, DF_Window *ws, D
|
||||
color.y *= 0.7f;
|
||||
color.z *= 0.7f;
|
||||
ui_set_next_background_color(color);
|
||||
if(is_frozen && df_icon_buttonf(DF_IconKind_Locked, "Thaw").clicked)
|
||||
if(is_frozen && df_icon_buttonf(DF_IconKind_Locked, "Thaw###freeze_thaw").clicked)
|
||||
{
|
||||
DF_CmdParams params = df_cmd_params_from_window(ws);
|
||||
params.entity = df_handle_from_entity(entity);
|
||||
df_cmd_params_mark_slot(¶ms, DF_CmdParamSlot_Entity);
|
||||
df_push_cmd__root(¶ms, df_cmd_spec_from_core_cmd_kind(DF_CoreCmdKind_ThawEntity));
|
||||
}
|
||||
if(!is_frozen && df_icon_buttonf(DF_IconKind_Unlocked, "Freeze").clicked)
|
||||
if(!is_frozen && df_icon_buttonf(DF_IconKind_Unlocked, "Freeze###freeze_thaw").clicked)
|
||||
{
|
||||
DF_CmdParams params = df_cmd_params_from_window(ws);
|
||||
params.entity = df_handle_from_entity(entity);
|
||||
@@ -3603,9 +3603,9 @@ df_window_update_and_render(Arena *arena, OS_EventList *events, DF_Window *ws, D
|
||||
B32 is_selected = df_handle_match(ctrl_ctx.thread, df_handle_from_entity(entity));
|
||||
if(is_selected)
|
||||
{
|
||||
df_icon_buttonf(DF_IconKind_Thread, "[Selected]");
|
||||
df_icon_buttonf(DF_IconKind_Thread, "[Selected]###select_entity");
|
||||
}
|
||||
else if(df_icon_buttonf(DF_IconKind_Thread, "Select").clicked)
|
||||
else if(df_icon_buttonf(DF_IconKind_Thread, "Select###select_entity").clicked)
|
||||
{
|
||||
DF_CmdParams params = df_cmd_params_from_window(ws);
|
||||
params.entity = df_handle_from_entity(entity);
|
||||
|
||||
Reference in New Issue
Block a user