For atoms on the map, loc (and consequently the view() procs and opacity origins) currently seems to be from the bottom-left pixel of an atom's bounding box.
There's no way to change this with pixel_x/y or with bound_x/y to be, for example, more centered in the bounding box, so opacity isn't so uneven:
http://i.imgur.com/JnNcUJP.png (one pixel past the bottom edge)
http://i.imgur.com/GyB9jck.png (at the bottom edge)
http://i.imgur.com/D1fxKSx.png (almost entirely off the tile)
http://i.imgur.com/zQt2kaF.png (one more pixel higher)
ID:2128744
Aug 8 2016, 12:32 pm
|
|||||||
| |||||||
Why exactly is pixel_x/y plus bound_x/y not working here? I'm not sure what I'm missing.
|
In response to Lummox JR
|
|
You could use pixel_x/y to move the icon, but then it won't match the bounds.
You could use bound_x/y to move the bounding box too, but loc still comes from the bottom-left of the physical bounding box, not the original icon bounds. |
Being able to change it so the atom's loc is calculated by say the center pixel, or maybe the top right one, etc.