mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-06-24 04:34:59 -07:00
also disable overly-ambitious cursor centering in memory view
This commit is contained in:
@@ -8849,7 +8849,10 @@ DF_VIEW_UI_FUNCTION_DEF(Memory)
|
||||
// rjf: click & drag -> select
|
||||
if(ui_dragging(sig) && mouse_hover_byte_num != 0)
|
||||
{
|
||||
mv->contain_cursor = 1;
|
||||
if(!contains_2f32(sig.box->rect, ui_mouse()))
|
||||
{
|
||||
mv->contain_cursor = 1;
|
||||
}
|
||||
mv->cursor = mouse_hover_byte_num-1;
|
||||
if(ui_pressed(sig))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user