diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-08-15 07:44:49 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-08-15 07:44:49 +0300 |
commit | a308db056515f8fb30be36d6ff028b788626465c (patch) | |
tree | 8ace58b91bebc7fcca27d0d2a09816cb198d05c8 /src/ui/documentwidget.h | |
parent | a0ebaca4600d38df843244bda5f54a75d7c59d83 (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.h | 2 |
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 | ||
23 | void setUrl_DocumentWidget (iDocumentWidget *, const iString *url); | 23 | void setUrl_DocumentWidget (iDocumentWidget *, const iString *url); |
24 | void setUrlFromCache_DocumentWidget (iDocumentWidget *, const iString *url, iBool isFromCache); | 24 | void setUrlFromCache_DocumentWidget (iDocumentWidget *, const iString *url, iBool isFromCache); |
25 | void setInitialScroll_DocumentWidget (iDocumentWidget *, int scrollY); /* set after content received */ | 25 | void setInitialScroll_DocumentWidget (iDocumentWidget *, float normScrollY); /* set after content received */ |
26 | 26 | ||
27 | void updateSize_DocumentWidget (iDocumentWidget *); | 27 | void updateSize_DocumentWidget (iDocumentWidget *); |