Fix drilling marker visibility after drag and update NVP/UW icons to circular premium style
Deploy TrassenPlaner / deploy (push) Waiting to run
Details
Deploy TrassenPlaner / deploy (push) Waiting to run
Details
This commit is contained in:
parent
d35b9dee0f
commit
0ceac26142
21
index.html
21
index.html
|
|
@ -400,12 +400,20 @@
|
||||||
height: 20px;
|
height: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.nvp-icon {
|
.anlage-icon, .nvp-icon, .infrastructure-icon {
|
||||||
background: #000;
|
background: #005d78;
|
||||||
|
color: white;
|
||||||
border: 2px solid white;
|
border: 2px solid white;
|
||||||
border-radius: 4px;
|
border-radius: 50%;
|
||||||
width: 24px;
|
display: flex;
|
||||||
height: 24px;
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
box-shadow: 0 4px 10px rgba(0,0,0,0.3);
|
||||||
|
transition: transform 0.2s;
|
||||||
|
}
|
||||||
|
|
||||||
|
.nvp-icon:hover, .infrastructure-icon:hover {
|
||||||
|
transform: scale(1.1);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Editing Marker Styles */
|
/* Editing Marker Styles */
|
||||||
|
|
@ -1948,7 +1956,8 @@
|
||||||
activeV.routes = e.layer.getLatLngs();
|
activeV.routes = e.layer.getLatLngs();
|
||||||
}
|
}
|
||||||
|
|
||||||
calculateStats(activeV, e.type.includes('drag') || e.type.includes('move'));
|
const isHighFreq = e.type === 'editable:vertex:drag' || e.type === 'editable:drawing:move';
|
||||||
|
calculateStats(activeV, isHighFreq);
|
||||||
updateVariantStatsUI(activeV);
|
updateVariantStatsUI(activeV);
|
||||||
if (e.type.includes('end') || e.type === 'editable:created' || e.type.includes('dragend') || e.type === 'editable:vertex:inserted') {
|
if (e.type.includes('end') || e.type === 'editable:created' || e.type.includes('dragend') || e.type === 'editable:vertex:inserted') {
|
||||||
renderVariants();
|
renderVariants();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue