mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-04-01 11:12:50 -05:00
SVG icons: adjust the hat on the Pageant icon.
It was a bit far to the right, looking at risk of falling off. Now moved it as far left as it will go without the top right corner of the computer monitor peeking out from behind it.
This commit is contained in:
parent
0a77b18481
commit
feaadd90ea
@ -844,8 +844,8 @@ def pageant_icon(size):
|
|||||||
# Determine the relative coordinates of the computer and hat. We
|
# Determine the relative coordinates of the computer and hat. We
|
||||||
# do this by first centring one on the other, then adjusting by
|
# do this by first centring one on the other, then adjusting by
|
||||||
# hand.
|
# hand.
|
||||||
xrel = (cbb[0]+cbb[2]-hbb[0]-hbb[2])/2 + 2*size
|
xrel = (cbb[0]+cbb[2]-hbb[0]-hbb[2])/2 + 0.7*size
|
||||||
yrel = (cbb[1]+cbb[3]-hbb[1]-hbb[3])/2 + 12*size
|
yrel = (cbb[1]+cbb[3]-hbb[1]-hbb[3])/2 + 12.5*size
|
||||||
|
|
||||||
both = SVGgroup([c, ht], [(0,0), (xrel,yrel)])
|
both = SVGgroup([c, ht], [(0,0), (xrel,yrel)])
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user