outputconfigurationstore: don't scale low resolution screens too much
Otherwise too few things fit on the screen at once. The adjusted scale factor algorithm takes into account both dimensions, it tries to ensure that least N logical pixels (depends on the device type) are available if a given scale factor is applied.
1080 and 360 were chosen based on the worldwide screen resolution stats. 1080 is the height in 1920x1080, 360 is an average screen width on mobile devices (although the stats for mobile devices range pretty wildly).
Co-authored-by: Vlad Zahorodnii vlad.zahorodnii@kde.org