now using space key for emergency:
* it is larger and easier to hit! * ESC is used to quit newly introduced full-screen mode
This commit is contained in:
2
pom.xml
2
pom.xml
@@ -4,7 +4,7 @@
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>de.srsoftware</groupId>
|
||||
<artifactId>web4rail</artifactId>
|
||||
<version>0.11.11</version>
|
||||
<version>0.11.12</version>
|
||||
<name>Web4Rail</name>
|
||||
<packaging>jar</packaging>
|
||||
<description>Java Model Railway Control</description>
|
||||
|
||||
@@ -106,7 +106,6 @@ svg circle{
|
||||
min-width: 30px;
|
||||
background: white;
|
||||
padding: 3px;
|
||||
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
@@ -121,12 +120,12 @@ svg circle{
|
||||
|
||||
.menu > div > .list{
|
||||
position: absolute;
|
||||
left: 5%;
|
||||
left: 0;
|
||||
bottom: 40px;
|
||||
width: 90%;
|
||||
z-index: 10;
|
||||
background: rgb(198,219,210,0.8);
|
||||
padding: 20px 5px 0 5px;
|
||||
padding: 20px 40px 0;
|
||||
}
|
||||
|
||||
.menu > div > .list > *{
|
||||
|
||||
@@ -118,7 +118,7 @@ function heartbeat(data){
|
||||
}
|
||||
|
||||
function keypress(ev){
|
||||
if (ev.key === "Escape") request({realm:"cu",action:"emergency"})
|
||||
if (ev.key === " ") request({realm:"cu",action:"emergency"})
|
||||
}
|
||||
|
||||
function moveTile(x,y){
|
||||
|
||||
Reference in New Issue
Block a user