The recent updates to IGraphics which allow non-integer scale factors (i.e. changing the scale variables from
float) have the side effect that the plugin UI gets automatically scaled if the user’s DPI is not equal to the default DPI of 96. The resizing occurs obligatorily during
OnDisplayTimer, but it didn’t manifest itself before, since the DPI ratio of 120/96 on my machine was rounded down to 1., which was my intended scale factor.
I think this issue is known, since there’s a “TODO” comment above the relevant line, but I was wondering if there are any member variables of IGraphics that I can adjust in order to only trigger rescaling under certain circumstances (e.g. if the user manually enables it in in the plugin interface). For the moment, I’ve just sequestered the lines in an
if (false) statement.