Reduce max remembered window size of 50K pixels
This commit is contained in:
parent
a3b046fdcd
commit
ba97a728f2
@ -31,7 +31,7 @@ class WindowSizeData(NamedTuple):
|
||||
|
||||
def sanitize_window_size(x: Any) -> int:
|
||||
ans = int(x)
|
||||
return max(20, min(ans, 100000))
|
||||
return max(20, min(ans, 50000))
|
||||
|
||||
|
||||
def initial_window_size_func(opts: WindowSizeData, cached_values: Dict[str, Any]) -> Callable[[int, int, float, float, float, float], Tuple[int, int]]:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user