"resolution_fit": "1" doesn't work. - Printable Version +- Ventoy Forums (https://forums.ventoy.net) +-- Forum: Ventoy Plugin —— Ventoy 插件 (https://forums.ventoy.net/forumdisplay.php?fid=3) +--- Forum: Ventoy Plugin Forum (https://forums.ventoy.net/forumdisplay.php?fid=4) +--- Thread: "resolution_fit": "1" doesn't work. (/showthread.php?tid=2663) Pages:
1
2
|
RE: "resolution_fit": "1" doesn't work. - nguyen ha thai trong - 09-13-2023 there are 2 error lines in ventoy.json : "default_file": 0, "resolution_fit": 1, because "default_file" and "resolution_fit" take the value INTEGER, not STRING RE: "resolution_fit": "1" doesn't work. - Divzed - 09-13-2023 (09-13-2023, 03:28 AM)nguyen ha thai trong Wrote: there are 2 error lines in ventoy.json : You are right, now it works properly. Thanks a lot for help, because I missed this info part from plugin theme documentation. Anyway, I still don't understand why LongPanda used INTEGER instead of STRING value type for "default_file" and "resolution_fit" key. Basically entire code of ventoy.json is based on STRING value types besides "default_file" and "resolution_fit". This is very confusing for the user and code integrity. |