forked from KolibriOS/kolibrios
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:
parent
fa6627769b
commit
97e444ea0f
@ -19,7 +19,7 @@ void Scroll() {
|
|||||||
sc_slider_y = files.first * sc_h / files.count + sc_y;
|
sc_slider_y = files.first * sc_h / files.count + sc_y;
|
||||||
sc_slider_h = sc_h * files.visible - files.visible / files.count;
|
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 < 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
|
//slider
|
||||||
DrawRectangle(sc_x,sc_slider_y,16,sc_slider_h,col_graph);
|
DrawRectangle(sc_x,sc_slider_y,16,sc_slider_h,col_graph);
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#define TITLE "Eolite File Manager v3.62"
|
#define TITLE "Eolite File Manager v3.63"
|
||||||
#define ABOUT_TITLE "EOLITE 3.62"
|
#define ABOUT_TITLE "EOLITE 3.63"
|
||||||
|
|
||||||
#ifdef LANG_RUS
|
#ifdef LANG_RUS
|
||||||
?define T_FILE "” ©«"
|
?define T_FILE "” ©«"
|
||||||
|
Loading…
Reference in New Issue
Block a user