WebView: fix page scroll when user is just clicked on a scrolling area and did not drug a slider
git-svn-id: svn://kolibrios.org@9259 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
c1e1215115
commit
2eddf0b1c0
@ -1,6 +1,11 @@
|
||||
//Copyright 2007-2021 by Veliant & Leency
|
||||
//Asper, lev, Lrz, Barsuk, Nable, hidnplayr...
|
||||
|
||||
//BUGS
|
||||
//if maximize a window on image load => crash
|
||||
//issues with a long line
|
||||
//add proxy settings
|
||||
|
||||
//===================================================//
|
||||
// //
|
||||
// LIB //
|
||||
@ -138,7 +143,7 @@ void main()
|
||||
|
||||
if (WB1.list.count > WB1.list.visible) {
|
||||
scrollbar_v_mouse (#scroll_wv);
|
||||
if (scroll_wv.delta2) {
|
||||
if (WB1.list.first != scroll_wv.position) {
|
||||
WB1.list.first = scroll_wv.position;
|
||||
WB1.DrawPage();
|
||||
break;
|
||||
|
@ -107,4 +107,4 @@ char editbox_icons[] = FROM "res/editbox_icons.raw";
|
||||
|
||||
#define DEFAULT_URL URL_SERVICE_HOMEPAGE
|
||||
|
||||
char version[]="WebView 3.51";
|
||||
char version[]="WebView 3.51b";
|
Loading…
Reference in New Issue
Block a user