MercuryTrade
MercuryTrade copied to clipboard
[Overseer] off pixel alignment for location and size
The example of this occurring is that if you have a component set at (300,300) with dimensions [50,50] and then a second component at (300,50)[50,50] there will be a gap between the components. So there's something off there.
(using paint to zoom in) there seems to be exactly 1 extra pixel on each side of a component, and 2 extra pixels on each side if the border is set to disabled/transparent.
The border pixel of the component (1 pixel thick) takes up one of those pixels instead of being put on top of the image (idk, maybe it was just easier to program the current implementation), but placing on top would make this much cleaner. It seems very odd that the default size is 64x64 for a component, uses 64x64 images, but then by default immediately compresses them down to 62x62.
Edit: the capture feature does something similar, will capture YxY image then shrink to (Y-2)x(Y-2) size to fit a border (that cannot be disabled, i would like to disable it) and an extra pixel outside of that.
Edit for picture to see pixels on 1920x1080 monitor: http://prntscr.com/m56g8k