CSS: need less shadow now that execution trace has its own 'summary'
This commit is contained in:
parent
ab988898c0
commit
af60e811fc
4 changed files with 2 additions and 4 deletions
|
|
@ -117,6 +117,6 @@ ul {
|
||||||
}
|
}
|
||||||
|
|
||||||
.shadowBelow {
|
.shadowBelow {
|
||||||
box-shadow: 0 -15px 15px 15px rgba(0, 0, 0, 0.4);
|
box-shadow: 0 -5px 5px 5px rgba(0, 0, 0, 0.4);
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -200,7 +200,6 @@ export function App() {
|
||||||
const nextConfig = handleInputEvent(simtime, event, ast, config as BigStep); // may throw
|
const nextConfig = handleInputEvent(simtime, event, ast, config as BigStep); // may throw
|
||||||
let plantState = config.plantState;
|
let plantState = config.plantState;
|
||||||
for (const o of nextConfig.outputEvents) {
|
for (const o of nextConfig.outputEvents) {
|
||||||
console.log(o);
|
|
||||||
plantState = plant.reduce(o, plantState);
|
plantState = plant.reduce(o, plantState);
|
||||||
}
|
}
|
||||||
console.log({plantState});
|
console.log({plantState});
|
||||||
|
|
|
||||||
|
|
@ -30,7 +30,7 @@ export function RTHistory({trace, setTrace, ast, setTime}: RTHistoryProps) {
|
||||||
const newStates = item.mode.difference(trace.trace[i-1]?.mode || new Set());
|
const newStates = item.mode.difference(trace.trace[i-1]?.mode || new Set());
|
||||||
return <div
|
return <div
|
||||||
className={"runtimeState" + (i === trace.idx ? " active" : "")}
|
className={"runtimeState" + (i === trace.idx ? " active" : "")}
|
||||||
onClick={() => gotoRt(i, item.simtime)}>
|
onMouseDown={() => gotoRt(i, item.simtime)}>
|
||||||
<div>
|
<div>
|
||||||
{formatTime(item.simtime)}
|
{formatTime(item.simtime)}
|
||||||
 
|
 
|
||||||
|
|
|
||||||
|
|
@ -11,4 +11,3 @@
|
||||||
fill: red;
|
fill: red;
|
||||||
fill-opacity: 1;
|
fill-opacity: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue