ISSUE-045 - Venetian Blinds - Improvements to prototype state management by using partial state updates, which are pretty useful.
More props for <VenentianBlindsTransition>.
This commit is contained in:
1 parent
14e4c0569d
commit
3ce590d794
6 files changed
+90
-60
No files matched your search
Vendored
+4
-1
@@ -1,4 +1,5 @@
|
||||
import { Milliseconds, Optional } from "./util";
|
||||
import { Corner } from "./style";
|
||||
|
||||
export interface RootState {
|
||||
pageDimensions: PageDimensions;
|
||||
@@ -22,7 +23,7 @@ export interface Workspace {
|
||||
workspaceId: WorkspaceId;
|
||||
animatedBG: boolean;
|
||||
workspaceProperties: WorkspaceProperties;
|
||||
prototypeState: Optional<PrototypeState>;
|
||||
prototypeState: PrototypeState;
|
||||
}
|
||||
|
||||
export type WorkspaceId = string;
|
||||
@@ -43,6 +44,8 @@ export interface PrototypeState {
|
||||
venetianTransition?: {
|
||||
mode: VenetianTransitionWorkspaceMode;
|
||||
showBG: boolean;
|
||||
timing: number,
|
||||
startingCorner: Corner,
|
||||
};
|
||||
}
|
||||
export type VenetianTransitionWorkspaceMode = "positionFlag" | "driverPortrait";
|
||||
|
||||
Reference in new issue
Block a user