From 145a4f8b7c2a193fb778092937b8292e24ba99a7 Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Fri, 2 Jun 2023 07:45:31 +0200 Subject: [PATCH] added downscaled directory to panorama script --- res/panorama/script.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/res/panorama/script.js b/res/panorama/script.js index d9fc817..42cc993 100644 --- a/res/panorama/script.js +++ b/res/panorama/script.js @@ -23,7 +23,7 @@ function load_panorama() switch (ASPECT_RATIO) //178 = v; 134 = norm; 38 = adam norm; 66 = adam v; 42 = výškové { - case 4/3: + case 4/3: //TODO: Add 3/4 field right_stop = 134; left_stop = -8; break; @@ -123,6 +123,6 @@ function check_param() open("../index.html", "_self"); } - img_url = 'http://207.180.212.190/fht/fabrika_imgs/' + img_url + '.jpg'; //TODO: Change + img_url = 'http://207.180.212.190/fht/fabrika_imgs/downscaled/' + img_url + '.jpg'; //TODO: Change if (!x.startsWith(undefined)) ASPECT_RATIO = x / y; } \ No newline at end of file