diff --git a/lib/webViewInjectjavascript.ts b/lib/webViewInjectjavascript.ts
index 6c4c188..44f10eb 100644
--- a/lib/webViewInjectjavascript.ts
+++ b/lib/webViewInjectjavascript.ts
@@ -1007,7 +1007,7 @@ export const injectJavascriptData: InjectJavascriptData = (
const gradient = getColors.length > 1 ? "linear-gradient(130deg, " + getColors[0] + " 0%, "+ getColors[0]+"50%, "+ getColors[1]+"50%, " + getColors[1] + " 100%)" : getColors[0];
- 行き先情報.insertAdjacentHTML('beforebegin', "
"+( isEdit ? "
" : isSeason ? "
" : "")+"
" + (TrainNumberOverride ? TrainNumberOverride : TrainNumber) + "
" + (isWanman ? "ワンマン " : "") + "
" + viaData + "
" + trainName + "
" + (ToData ? ToData + "行" : ToData) + "
" + (hasProblem ? "‼️停止中‼️" : "") + "
");
+ 行き先情報.insertAdjacentHTML('beforebegin', "" + ( isEdit ? "
" : isSeason ? "
" : "") + "
" + (TrainNumberOverride ? TrainNumberOverride : TrainNumber) + "
" + (isWanman ? "ワンマン " : "") + "
" + viaData + "
" + trainName + "
" + (ToData ? ToData + "行" : ToData) + "
" + (hasProblem ? "‼️停止中‼️" : "") + "
");
`: `
行き先情報.insertAdjacentHTML('beforebegin', "" + returnText1 + "
");
行き先情報.insertAdjacentHTML('beforebegin', "" + (ToData ? ToData + "行 " : ToData) + "
" + (TrainNumberOverride ? TrainNumberOverride : TrainNumber) + "
");
@@ -1023,6 +1023,20 @@ export const injectJavascriptData: InjectJavascriptData = (
const setNewTrainItem = (element,hasProblem,type)=>{
var 列番データ = element.getAttribute('offclick').split('"')[1];
const JRFTemp = getJRF(列番データ);
+ switch(true){
+ case 列番データ.indexOf("H") != -1:
+ case 列番データ.indexOf("R") != -1:
+ case 列番データ.indexOf("E") != -1:
+ case 列番データ.indexOf("A") != -1:
+ case 列番データ.indexOf("B") != -1:
+ case 列番データ.indexOf("T") != -1:
+ case !!JRFTemp:
+ element.style.backgroundColor = '#c7c7c7cc';
+ break;
+ default:
+ element.style.backgroundColor = '#ffffffcc';
+ break;
+ }
if(trainDataList.find(e => e.id === 列番データ) !== undefined){
const data = trainDataList.find(e => e.id === 列番データ);
switch (data.type) {
@@ -1056,6 +1070,7 @@ const setNewTrainItem = (element,hasProblem,type)=>{
break;
case "Party":
element.style.borderColor = "#ff7300ff";
+ element.style.backgroundColor = '#ffd0a9ff';
break;
case "Freight":
element.style.borderColor = "#00869ecc";
@@ -1084,19 +1099,6 @@ const setNewTrainItem = (element,hasProblem,type)=>{
element.style.borderWidth = '2px';
element.style.borderStyle = 'solid';
element.style.borderRadius = '10%';
- switch(true){
- case 列番データ.indexOf("H") != -1:
- case 列番データ.indexOf("R") != -1:
- case 列番データ.indexOf("E") != -1:
- case 列番データ.indexOf("A") != -1:
- case 列番データ.indexOf("B") != -1:
- case !!JRFTemp:
- element.style.backgroundColor = 'rgba(199, 199, 199, 0.8)';
- break;
- default:
- element.style.backgroundColor = 'rgba(255, 255, 255, 0.8)';
- break;
- }
if(hasProblem){
element.style.boxShadow = '0 0 10px rgba(255, 0, 0, 0.9)';
}else{