Dropdown problem with using UI Scaling

UI Scaling in Preferences
Dropdown comparison of Illustrator 2019 (v.23) and 2020 (v.24)
var aiVersion = parseInt(app.version);
var scalePref = app.preferences.getRealPreference('UIPreferences/appScaleFactor');
var scaleErr = 'If you have a problem displaying the dropdown list, disable the UI scaling in Ai prefs';
if (aiVersion == 23 && scalePref > 1) alert(scaleErr);

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store