mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-08-07 14:28:40 +00:00
also disable overly-ambitious cursor centering in memory view
This commit is contained in:
@@ -8848,8 +8848,11 @@ 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)
|
||||||
|
{
|
||||||
|
if(!contains_2f32(sig.box->rect, ui_mouse()))
|
||||||
{
|
{
|
||||||
mv->contain_cursor = 1;
|
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