Skip to content

Commit

Permalink
Merge pull request #16 from opendesigndev/bugfix/invalid-unit-float-type
Browse files Browse the repository at this point in the history
add RrCm and RrIn
  • Loading branch information
alexspevak authored Jan 26, 2023
2 parents d4b8e99 + b670bda commit 83b3b76
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/psd/src/interfaces/Descriptor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,14 @@ export enum UnitFloatType {
Pixels = "#Pxl",
/** Tagged unit value */
Points = "#Pnt",

/**
* Following descriptions were taken from https://psd-tools.readthedocs.io/en/latest/reference/psd_tools.terminology.html#psd_tools.terminology.Enum.RulerCm
* */
/** Ruler centimeter */
RulerCm = "RrCm",
/**Ruler inches */
RulerInches = "RrIn",
}

/**
Expand Down

0 comments on commit 83b3b76

Please sign in to comment.