minor bugfix
This commit is contained in:
2
pom.xml
2
pom.xml
@@ -4,7 +4,7 @@
|
|||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>de.srsoftware</groupId>
|
<groupId>de.srsoftware</groupId>
|
||||||
<artifactId>web4rail</artifactId>
|
<artifactId>web4rail</artifactId>
|
||||||
<version>1.2.29</version>
|
<version>1.2.30</version>
|
||||||
<name>Web4Rail</name>
|
<name>Web4Rail</name>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
<description>Java Model Railway Control</description>
|
<description>Java Model Railway Control</description>
|
||||||
|
|||||||
@@ -7,10 +7,6 @@ html{
|
|||||||
}
|
}
|
||||||
body{
|
body{
|
||||||
min-height: 100%;
|
min-height: 100%;
|
||||||
background-size: 30px 30px;
|
|
||||||
background-image:
|
|
||||||
linear-gradient(to right, grey 1px, transparent 1px),
|
|
||||||
linear-gradient(to bottom, grey 1px, transparent 1px);
|
|
||||||
}
|
}
|
||||||
button{
|
button{
|
||||||
border: 1px solid blue;
|
border: 1px solid blue;
|
||||||
@@ -30,6 +26,9 @@ button{
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
background-size: 30px 30px;
|
||||||
|
background-image: linear-gradient(to right, grey 1px, transparent 1px), linear-gradient(to bottom, grey 1px, transparent 1px);
|
||||||
|
background-attachment: local;
|
||||||
}
|
}
|
||||||
|
|
||||||
.window{
|
.window{
|
||||||
|
|||||||
@@ -126,6 +126,7 @@ No free routes from {} : keine Route von {} frei
|
|||||||
NORTH : Norden
|
NORTH : Norden
|
||||||
Not connected to other bridge part! : Nicht mit anderem Brücken-Teil verbunden!
|
Not connected to other bridge part! : Nicht mit anderem Brücken-Teil verbunden!
|
||||||
Notes : Notizen
|
Notes : Notizen
|
||||||
|
No tile moved. : keine Kachel verschoben.
|
||||||
{} now heading for {} : {} ist nun unterweg nach {}
|
{} now heading for {} : {} ist nun unterweg nach {}
|
||||||
{} now in auto-mode : {} ist nun im Automatikmodus
|
{} now in auto-mode : {} ist nun im Automatikmodus
|
||||||
Occupied area\: : Belegte Abschnitte:
|
Occupied area\: : Belegte Abschnitte:
|
||||||
@@ -210,6 +211,7 @@ Tags : Markierungen
|
|||||||
Text to display on clients\: : Text, welcher auf den Clients angezeigt werden soll:
|
Text to display on clients\: : Text, welcher auf den Clients angezeigt werden soll:
|
||||||
Text to show on display\: : Text, welcher in der Anzeige dargestellt werden soll:
|
Text to show on display\: : Text, welcher in der Anzeige dargestellt werden soll:
|
||||||
Tile(s) : Kachel(n)
|
Tile(s) : Kachel(n)
|
||||||
|
Tile(s) moved. : Kachel(n) verschoben.
|
||||||
Toggle : umschalten
|
Toggle : umschalten
|
||||||
Toggle power : Stom umschalten
|
Toggle power : Stom umschalten
|
||||||
Train : Zug
|
Train : Zug
|
||||||
|
|||||||
@@ -536,7 +536,7 @@ public class Plan extends BaseClass{
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return t(moved ? "Tile(s) moved.":"No tile(s) moved.");
|
return t(moved ? "Tile(s) moved.":"No tile moved.");
|
||||||
}
|
}
|
||||||
|
|
||||||
public void drop(Tile tile) {
|
public void drop(Tile tile) {
|
||||||
|
|||||||
@@ -419,6 +419,7 @@ public abstract class Tile extends BaseClass implements Comparable<Tile>{
|
|||||||
disabled = "on".equals(params.get(DISABLED));
|
disabled = "on".equals(params.get(DISABLED));
|
||||||
String len = params.get(LENGTH);
|
String len = params.get(LENGTH);
|
||||||
if (isSet(len)) length(Integer.parseInt(len));
|
if (isSet(len)) length(Integer.parseInt(len));
|
||||||
|
super.update(params);
|
||||||
plan.place(this);
|
plan.place(this);
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user