mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 13:59:08 +00:00
Better display of epochs
This commit is contained in:
parent
bea445bafa
commit
e3129032e8
8 changed files with 216 additions and 70 deletions
|
@ -31,6 +31,7 @@ import VariableNode, {
|
|||
import { SubsSnapshot } from "../../engine/subs";
|
||||
import { KeydownHandler } from "../Events";
|
||||
import { TypedEmitter } from "tiny-typed-emitter";
|
||||
import EpochCell from "../Common/EpochCell";
|
||||
|
||||
export interface VariablesGraphProps {
|
||||
subs: SubsSnapshot;
|
||||
|
@ -445,6 +446,9 @@ function Graph({
|
|||
hideAttribution: true,
|
||||
}}
|
||||
>
|
||||
<Panel position="top-left">
|
||||
<EpochCell epoch={subs.epoch}></EpochCell>
|
||||
</Panel>
|
||||
<Panel position="top-right">
|
||||
<LayoutPanel
|
||||
layoutConfig={layoutConfig}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue