mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 11:48:02 +00:00
adjust avatar targeting origin
This commit is contained in:
@@ -107,8 +107,8 @@ public class VAvatar extends FDisplayObject {
|
|||||||
|
|
||||||
public Vector2 getTargetingArrowOrigin() {
|
public Vector2 getTargetingArrowOrigin() {
|
||||||
Vector2 origin = new Vector2(this.screenPos.x, this.screenPos.y);
|
Vector2 origin = new Vector2(this.screenPos.x, this.screenPos.y);
|
||||||
origin.x += getWidth()-getWidth()/3.5f; //move a little bit so the avatar face is still shown...
|
origin.x += getWidth()-getWidth()/8f;
|
||||||
origin.y += getWidth()/2f;
|
origin.y += getWidth()-getWidth()/8f;
|
||||||
return origin;
|
return origin;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user