summaryrefslogtreecommitdiff
path: root/src/ui/documentwidget.h
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2020-08-15 07:44:49 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2020-08-15 07:44:49 +0300
commita308db056515f8fb30be36d6ff028b788626465c (patch)
tree8ace58b91bebc7fcca27d0d2a09816cb198d05c8 /src/ui/documentwidget.h
parenta0ebaca4600d38df843244bda5f54a75d7c59d83 (diff)
Init and scroll position improvements
Scroll positions are saved as normalized positions so they don’t get affected by zoom differences.
Diffstat (limited to 'src/ui/documentwidget.h')
-rw-r--r--src/ui/documentwidget.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/documentwidget.h b/src/ui/documentwidget.h
index 98591901..074516c3 100644
--- a/src/ui/documentwidget.h
+++ b/src/ui/documentwidget.h
@@ -22,6 +22,6 @@ const iString * bookmarkTitle_DocumentWidget (const iDocumentWidget *);
22 22
23void setUrl_DocumentWidget (iDocumentWidget *, const iString *url); 23void setUrl_DocumentWidget (iDocumentWidget *, const iString *url);
24void setUrlFromCache_DocumentWidget (iDocumentWidget *, const iString *url, iBool isFromCache); 24void setUrlFromCache_DocumentWidget (iDocumentWidget *, const iString *url, iBool isFromCache);
25void setInitialScroll_DocumentWidget (iDocumentWidget *, int scrollY); /* set after content received */ 25void setInitialScroll_DocumentWidget (iDocumentWidget *, float normScrollY); /* set after content received */
26 26
27void updateSize_DocumentWidget (iDocumentWidget *); 27void updateSize_DocumentWidget (iDocumentWidget *);