Skip to content

Commit

Permalink
Add media-frame types
Browse files Browse the repository at this point in the history
  • Loading branch information
keianhzo committed Feb 15, 2024
1 parent ee714c6 commit 00bb408
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion src/inflators/media-frame.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,18 @@ export const AxisAlignType = {
};

export const MEDIA_FRAME_FLAGS = {
SCALE_TO_BOUNDS: 1 << 0
ACTIVE: 1 << 0,
SNAP_TO_CENTER: 1 << 1,
LOCKED: 1 << 2
};

export const MediaTypes = {
all: MediaType.ALL,
"all-2d": MediaType.ALL_2D,
model: MediaType.MODEL | MediaType.OBJECT,
image: MediaType.IMAGE,
video: MediaType.VIDEO,
pdf: MediaType.PDF
};

const DEFAULTS = {
Expand Down

0 comments on commit 00bb408

Please sign in to comment.