Tweak settings limits

This commit is contained in:
Kovid Goyal 2020-02-25 07:27:56 +05:30
parent ffe4e65ef2
commit 43094dc2e4
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
2 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@ def change_font_size_by(amt):
sd = get_session_data()
sz = sd.get('base_font_size')
nsz = sz + amt
nsz = max(8, min(nsz, 40))
nsz = max(8, min(nsz, 80))
change_font_size(nsz)
def show_custom_size(ev):

View File

@ -13,7 +13,7 @@ from session import defaults
CONTAINER = unique_id('standalone-scrolling-settings')
# Scroll speeds in lines/sec
MIN_SCROLL_SPEED_AUTO = 0.25
MIN_SCROLL_SPEED_AUTO = 0.05
MAX_SCROLL_SPEED_AUTO = 5
MIN_SCROLL_AUTO_DELAY = -1