From 4e107a7dcbcfc282387dc44d5202730e8f958d2d Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 17 Dec 2017 19:55:58 -0800 Subject: [PATCH] Fix (7:3) bug --- Source/functions.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Source/functions.php b/Source/functions.php index 88655def..01318176 100644 --- a/Source/functions.php +++ b/Source/functions.php @@ -26,6 +26,9 @@ function get_title($width, $height) { } else if ($ratio[0] == 43 && $ratio[1] == 18) { // 43:18 is the true ratio for 3440x1440, but 21:9 is the common approximation $title = $title . " (21:9)"; + } else if ($ratio[0] == 7 && $ratio[1] == 3) { + // 2100x900 and 4200x1800 are actual 21:9 (21*100 and 9*100) but for some reason it calculates to 7:3? + $title = $title . " (21:9)"; } else if ($ratio[0] == 8 && $ratio[1] == 5) { // common sense $title = $title . " (16:10)";