mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 05:49:08 +00:00
Scroll to epoch
This commit is contained in:
parent
e3129032e8
commit
8069d3ad34
6 changed files with 144 additions and 25 deletions
|
@ -31,7 +31,7 @@ import VariableNode, {
|
|||
import { SubsSnapshot } from "../../engine/subs";
|
||||
import { KeydownHandler } from "../Events";
|
||||
import { TypedEmitter } from "tiny-typed-emitter";
|
||||
import EpochCell from "../Common/EpochCell";
|
||||
import EpochCell, { EpochCellView } from "../Common/EpochCell";
|
||||
|
||||
export interface VariablesGraphProps {
|
||||
subs: SubsSnapshot;
|
||||
|
@ -447,7 +447,7 @@ function Graph({
|
|||
}}
|
||||
>
|
||||
<Panel position="top-left">
|
||||
<EpochCell epoch={subs.epoch}></EpochCell>
|
||||
<EpochCell view={EpochCellView.Graph} epoch={subs.epoch}></EpochCell>
|
||||
</Panel>
|
||||
<Panel position="top-right">
|
||||
<LayoutPanel
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue