Distance only vertical
Shadow distance can only get a vertical length, not horizontal.
Maybe a slider control is not really fit for a two-dimensional number heh ;)
hello thany - thanks for contributing!
the distance is abstracted: it's x and y ratio is calculated by the angle.
Then maybe an option to switch between "distance" and "offset", where the latter one is what I was missing?
Sorry, but I don't get your point: box-shadow is defined by max. five attributes: - horizontal offset - vertical offset - blur radius - spread distance - color
how these attributes are mapped in layerstyles: - the horizontal and vertical distance are calculated through the angle and the distance (the angle splits up the distance into horizontal and vertical proportion) - blur radius = blur - spread = size (this is slightly misleading as someone already noted - i'll fix the naming)
Maybe head back to layerstyles to check the combination of distance and the angle while watching the code change might clear this up.
I understand your point. I was referring to an option to switch between setting the abstracted distance and explicit X/Y values.
Ah okay. No i won't implement that. Try alt key while changing the changing the angle!