Elite: fix scrollbar slider appearance in the most bottom position

git-svn-id: svn://kolibrios.org@6566 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Kirill Lipatov (Leency) 2016-10-05 11:27:33 +00:00
parent fa6627769b
commit 97e444ea0f
2 changed files with 3 additions and 3 deletions

View File

@ -19,7 +19,7 @@ void Scroll() {
sc_slider_y = files.first * sc_h / files.count + sc_y;
sc_slider_h = sc_h * files.visible - files.visible / files.count;
if (sc_slider_h < 20) sc_slider_h = 20; //minimal scroll width
if (sc_slider_h > sc_h-sc_slider_y+56) || (files.first+files.visible>=files.count) sc_slider_y= Form.cheight - 19 - sc_slider_h; //äëÿ áîëüøîãî ñïèñêà
if (sc_slider_h > sc_h-sc_slider_y+56) || (files.first+files.visible>=files.count) sc_slider_y= sc_y + sc_h - sc_slider_h - 1; //äëÿ áîëüøîãî ñïèñêà
}
//slider
DrawRectangle(sc_x,sc_slider_y,16,sc_slider_h,col_graph);

View File

@ -1,5 +1,5 @@
#define TITLE "Eolite File Manager v3.62"
#define ABOUT_TITLE "EOLITE 3.62"
#define TITLE "Eolite File Manager v3.63"
#define ABOUT_TITLE "EOLITE 3.63"
#ifdef LANG_RUS
?define T_FILE "” ©«"