bug with min_y, max_y

This commit is contained in:
Allen Webster 2016-05-23 14:19:04 -04:00
parent b710f1838f
commit 3628c03a36
4 changed files with 21 additions and 16 deletions

View File

@ -3231,6 +3231,7 @@ view_get_cursor_scroll_change_state(View *view){
if ((view->prev_cursor_pos != pos)){
result |= CursorScroll_Cursor;
}
}
if (view->current_scroll){
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;
}
else{
context.file = view->prev_context.file;
}
context.scroll = view->gui_target.scroll_id;
context.mode = view->showing_ui;
if (!context_eq(view->prev_context, context)){
result |= CursorScroll_ContextChange;
}
}
return(result);
}

View File

@ -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!

View File

@ -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!

View File

@ -22,8 +22,8 @@ popd
pushd ..\build
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_casey.cpp
REM call "..\code\buildsuper.bat" ..\code\power\4coder_experiments.cpp
call "..\code\buildsuper.bat" ..\code\power\4coder_casey.cpp
if %ERRORLEVEL% neq 0 (set FirstError=1)
set EXPORTS=/EXPORT:app_get_functions