From 2eddf0b1c0f7b883b75c3b6d264a40c84320fae1 Mon Sep 17 00:00:00 2001 From: "Kirill Lipatov (Leency)" Date: Fri, 5 Nov 2021 18:03:23 +0000 Subject: [PATCH] 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 --- programs/cmm/browser/WebView.c | 7 ++++++- programs/cmm/browser/const.h | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/programs/cmm/browser/WebView.c b/programs/cmm/browser/WebView.c index de10c63c71..7a3f634bf8 100644 --- a/programs/cmm/browser/WebView.c +++ b/programs/cmm/browser/WebView.c @@ -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; diff --git a/programs/cmm/browser/const.h b/programs/cmm/browser/const.h index 636e0eb39a..230be7467f 100644 --- a/programs/cmm/browser/const.h +++ b/programs/cmm/browser/const.h @@ -107,4 +107,4 @@ char editbox_icons[] = FROM "res/editbox_icons.raw"; #define DEFAULT_URL URL_SERVICE_HOMEPAGE -char version[]="WebView 3.51"; \ No newline at end of file +char version[]="WebView 3.51b"; \ No newline at end of file