mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-10-15 13:29:41 -07:00
command correctness/cleanup pass
This commit is contained in:
1 parent
7b5f55c3c8
commit
fc308c0609
6 files changed
+52
-50
No files matched your search
@@ -780,11 +780,11 @@ rd_code_view_build(Arena *arena, RD_CodeViewState *cv, RD_CodeViewBuildFlags fla
|
||||
ui_eat_event(evt);
|
||||
if(evt->delta_2f32.y < 0)
|
||||
{
|
||||
rd_cmd(RD_CmdKind_IncFontSize);
|
||||
rd_cmd(RD_CmdKind_IncViewFontSize);
|
||||
}
|
||||
else if(evt->delta_2f32.y > 0)
|
||||
{
|
||||
rd_cmd(RD_CmdKind_DecFontSize);
|
||||
rd_cmd(RD_CmdKind_DecViewFontSize);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -2870,11 +2870,11 @@ RD_VIEW_UI_FUNCTION_DEF(memory)
|
||||
ui_eat_event(evt);
|
||||
if(evt->delta_2f32.y < 0)
|
||||
{
|
||||
rd_cmd(RD_CmdKind_IncFontSize);
|
||||
rd_cmd(RD_CmdKind_IncViewFontSize);
|
||||
}
|
||||
else if(evt->delta_2f32.y > 0)
|
||||
{
|
||||
rd_cmd(RD_CmdKind_DecFontSize);
|
||||
rd_cmd(RD_CmdKind_DecViewFontSize);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user