mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 19:58:00 +00:00
minor adjustments
This commit is contained in:
@@ -107,7 +107,7 @@ 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()/2f;
|
origin.x += getWidth()-getWidth()/3.5f; //move a little bit so the avatar face is still shown...
|
||||||
origin.y += getWidth()/2f;
|
origin.y += getWidth()/2f;
|
||||||
return origin;
|
return origin;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user