From 5cdd1dc85b3ec2d454ac0c3b7a97cbb7a791900c Mon Sep 17 00:00:00 2001 From: HappyZ Date: Sat, 29 Apr 2023 20:16:43 -0700 Subject: [PATCH] restrict to 960 to save memory on GPU --- templates/index.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/index.html b/templates/index.html index 0c19c5f..fbde46b 100644 --- a/templates/index.html +++ b/templates/index.html @@ -215,8 +215,8 @@ return; } - if (widthVal < 8 || widthVal > 1024) { - alert("width must be between 8 and 1024!"); + if (widthVal < 8 || widthVal > 960) { + alert("width must be between 8 and 960!"); return; } @@ -225,8 +225,8 @@ return; } - if (heightVal < 8 || heightVal > 1024) { - alert("height must be between 8 and 1024!"); + if (heightVal < 8 || heightVal > 960) { + alert("height must be between 8 and 960!"); return; }