mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-11 06:30:03 +00:00
Revert "feat: Persist Studio manual edits via manifest (#593)"
This reverts commit d0abe90a82.
This commit is contained in:
@@ -8,7 +8,6 @@ import {
|
||||
getTimelinePlayheadLeft,
|
||||
getTimelineScrollLeftForZoomAnchor,
|
||||
getTimelineScrollLeftForZoomTransition,
|
||||
shouldShowTimelineShortcutHint,
|
||||
shouldHandleTimelineDeleteKey,
|
||||
shouldAutoScrollTimeline,
|
||||
} from "./Timeline";
|
||||
@@ -238,17 +237,6 @@ describe("getTimelineCanvasHeight", () => {
|
||||
});
|
||||
});
|
||||
|
||||
describe("shouldShowTimelineShortcutHint", () => {
|
||||
it("shows the hint when the timeline does not vertically overflow", () => {
|
||||
expect(shouldShowTimelineShortcutHint(220, 220)).toBe(true);
|
||||
expect(shouldShowTimelineShortcutHint(220.5, 220)).toBe(true);
|
||||
});
|
||||
|
||||
it("hides the hint when timeline tracks need vertical scrolling", () => {
|
||||
expect(shouldShowTimelineShortcutHint(221.5, 220)).toBe(false);
|
||||
});
|
||||
});
|
||||
|
||||
describe("shouldHandleTimelineDeleteKey", () => {
|
||||
it("handles Delete and Backspace when focus is not in an editor", () => {
|
||||
expect(shouldHandleTimelineDeleteKey({ key: "Delete" })).toBe(true);
|
||||
|
||||
Reference in New Issue
Block a user