Document that currently flow mode does not care about RTL/LTR

This commit is contained in:
Kovid Goyal 2020-07-27 13:45:57 +05:30
parent 769ca0c59f
commit a681d71608
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -207,6 +207,8 @@ def handle_shortcut(sc_name, evt):
def layout(is_single_page):
line_height(True)
set_css(document.body, margin='0', border_width='0', padding='0')
# flow mode does not care about RTL vs LTR
scroll_viewport.initialize_on_layout({'direction': 'ltr'})
def auto_scroll_resume():