diff --git a/README.md b/README.md index 286aa1c..e9b310b 100644 --- a/README.md +++ b/README.md @@ -34,4 +34,4 @@ Recommend node with flexible ratio choice #### yaResolution Selector -Basic version for users that prefer aspect ratio presets. New presets can be added by modifying nodes.py file, remember to always include values in format width:height +Basic version for users that prefer aspect ratio presets. New presets can be added by modifying ratios.txt file (if you don't have it, use the node at least once), remember to always include values in format width:height diff --git a/nodes.py b/nodes.py index ba234a8..5758e89 100644 --- a/nodes.py +++ b/nodes.py @@ -64,15 +64,17 @@ class YARS: with open(self.ratios_path, "w") as file: file.write( "1:1\n" + "landscape (5:4)\n" "landscape (4:3)\n" "landscape (3:2)\n" - "landscape (16:9)\n" "landscape (16:10)\n" + "landscape (16:9)\n" "landscape (21:9)\n" + "portrait (4:5)\n" "portrait (3:4)\n" "portrait (2:3)\n" - "portrait (9:16)\n" "portrait (9:10)\n" + "portrait (9:16)\n" "portrait (9:21)\n" )