It looks like you're new here. If you want to get involved, click one of these buttons!
This is a pretty straight forward question (though who knows if the answer is also straight forward?). I'm using pixelDensity(displayDensity()) in order to compensate for a high density display. It works just fine when run from the IDE, but once I've built the application it gets totally ignored and just sets the pixel density to 1.
I've tried hard coding the value to pixelDensity(2) to see if that worked, but it also has no effect.
Let me know if I'm doing something wrong, or if this function is only meant to be used in the editor.