0
Fixed

width and height values incorrectly saved as string values in the presets object, causing custom sizes to not function (v1.7.1)

Alphonso Pixel 4 years ago • updated by Ionuț Botizan 4 years ago 0

I noticed that when saving custom viewport sizes as presets, they would not load correctly. Looking at the presets JSON object, the custom presets have width and height values that are saved as strings, instead of number values. By manually changing these to number values, custom presets now load without issue.

Answer

Answer
Fixed

Fixed in 1.7.2