diff --git a/graphics/ui/battle.svg b/graphics/ui/battle.svg
index 7e5b4ab..1986bcf 100644
--- a/graphics/ui/battle.svg
+++ b/graphics/ui/battle.svg
@@ -85,14 +85,14 @@
borderopacity="1.0"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
- inkscape:zoom="5.6568542"
- inkscape:cx="101.91241"
- inkscape:cy="877.88947"
+ inkscape:zoom="4"
+ inkscape:cx="752.60811"
+ inkscape:cy="207.999"
inkscape:document-units="px"
- inkscape:current-layer="layer16"
+ inkscape:current-layer="layer17"
showgrid="false"
units="px"
- showguides="true"
+ showguides="false"
inkscape:snap-bbox="false"
inkscape:bbox-nodes="true"
inkscape:bbox-paths="true"
@@ -134,6 +134,47 @@
+
+
+
+
+
+
+
+
+
+ inkscape:transform-center-y="1.2827735"
+ inkscape:export-filename="/tmp/export.png"
+ inkscape:export-xdpi="90"
+ inkscape:export-ydpi="90" />
+ height="100%"
+ inkscape:export-filename="/tmp/export.png"
+ inkscape:export-xdpi="90"
+ inkscape:export-ydpi="90" />
+ inkscape:transform-center-x="-1.2827735"
+ inkscape:export-filename="/tmp/export.png"
+ inkscape:export-xdpi="90"
+ inkscape:export-ydpi="90" />
+ inkscape:transform-center-x="1.2827734"
+ inkscape:export-filename="/tmp/export.png"
+ inkscape:export-xdpi="90"
+ inkscape:export-ydpi="90" />
this.battleview.getHeight()) {
+ y = this.battleview.getHeight() - this.height;
+ }
+ if (y < 0) {
+ y = 0;
+ }
+ if (x + this.width > this.battleview.getWidth()) {
+ x = sprite.worldPosition.x - sprite.width * 0.5 - this.width;
+ }
+ this.position.set(x, y);
+ } else {
+ this.position.set(0, 0);
+ }
+
+ // Fill info
+ this.title.setText(ship.name);
+
+ Animation.fadeIn(this.game, this, 200, 0.9);
+ } else {
+ Animation.fadeOut(this.game, this, 200);
+ }
+ }
+ }
+}