mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-08-06 22:08:41 +00: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
|
// rjf: click & drag -> select
|
||||||
if(ui_dragging(sig) && mouse_hover_byte_num != 0)
|
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;
|
mv->cursor = mouse_hover_byte_num-1;
|
||||||
if(ui_pressed(sig))
|
if(ui_pressed(sig))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user