bug with min_y, max_y
This commit is contained in:
parent
b710f1838f
commit
3628c03a36
|
@ -3231,6 +3231,7 @@ view_get_cursor_scroll_change_state(View *view){
|
||||||
if ((view->prev_cursor_pos != pos)){
|
if ((view->prev_cursor_pos != pos)){
|
||||||
result |= CursorScroll_Cursor;
|
result |= CursorScroll_Cursor;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (view->current_scroll){
|
if (view->current_scroll){
|
||||||
if (!gui_scroll_eq(view->current_scroll, &view->gui_target.scroll_original)){
|
if (!gui_scroll_eq(view->current_scroll, &view->gui_target.scroll_original)){
|
||||||
|
@ -3238,14 +3239,18 @@ view_get_cursor_scroll_change_state(View *view){
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (context.mode == VUI_None){
|
||||||
context.file = view->file_data.file;
|
context.file = view->file_data.file;
|
||||||
|
}
|
||||||
|
else{
|
||||||
|
context.file = view->prev_context.file;
|
||||||
|
}
|
||||||
context.scroll = view->gui_target.scroll_id;
|
context.scroll = view->gui_target.scroll_id;
|
||||||
context.mode = view->showing_ui;
|
context.mode = view->showing_ui;
|
||||||
|
|
||||||
if (!context_eq(view->prev_context, context)){
|
if (!context_eq(view->prev_context, context)){
|
||||||
result |= CursorScroll_ContextChange;
|
result |= CursorScroll_ContextChange;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
return(result);
|
return(result);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
Distribution Date: 20.5.2016 (dd.mm.yyyy)
|
Distribution Date: 23.5.2016 (dd.mm.yyyy)
|
||||||
|
|
||||||
Thank you for contributing to the 4coder project!
|
Thank you for contributing to the 4coder project!
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
Distribution Date: 20.5.2016 (dd.mm.yyyy)
|
Distribution Date: 23.5.2016 (dd.mm.yyyy)
|
||||||
|
|
||||||
Thank you for contributing to the 4coder project!
|
Thank you for contributing to the 4coder project!
|
||||||
|
|
||||||
|
|
|
@ -22,8 +22,8 @@ popd
|
||||||
|
|
||||||
pushd ..\build
|
pushd ..\build
|
||||||
REM call "..\code\buildsuper.bat" ..\code\4coder_default_bindings.cpp
|
REM call "..\code\buildsuper.bat" ..\code\4coder_default_bindings.cpp
|
||||||
call "..\code\buildsuper.bat" ..\code\power\4coder_experiments.cpp
|
REM call "..\code\buildsuper.bat" ..\code\power\4coder_experiments.cpp
|
||||||
REM call "..\code\buildsuper.bat" ..\code\power\4coder_casey.cpp
|
call "..\code\buildsuper.bat" ..\code\power\4coder_casey.cpp
|
||||||
if %ERRORLEVEL% neq 0 (set FirstError=1)
|
if %ERRORLEVEL% neq 0 (set FirstError=1)
|
||||||
|
|
||||||
set EXPORTS=/EXPORT:app_get_functions
|
set EXPORTS=/EXPORT:app_get_functions
|
||||||
|
|
Loading…
Reference in New Issue