Skip to content

Commit

Permalink
docs: Fix Lifecycle Graph width (#2989)
Browse files Browse the repository at this point in the history
* docs: Fix `Frame` docs

* Update LIFECYCLE.mdx
  • Loading branch information
mrousavy authored Jun 13, 2024
1 parent 4a0ac0f commit 1723408
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
12 changes: 5 additions & 7 deletions docs/docs/guides/LIFECYCLE.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,13 @@ gitGraph LR:
checkout Time
commit id:"  "
commit id:"   "
checkout Camera
commit id:"onInitialized()"
checkout Time
commit id:"     "
commit id:"      "
commit id:"       "
commit id:"   "
commit id:"    "
checkout Camera
commit id:"onStarted()"
Expand All @@ -59,10 +57,10 @@ gitGraph LR:
commit id:"onPreviewStarted()"
checkout Time
commit id:"     "
commit id:"      "
commit id:"       "
commit id:"        "
commit id:"         "
commit id:"          "
commit id:"           "
checkout Preview
commit id:"onPreviewStopped()"
Expand Down
3 changes: 2 additions & 1 deletion package/src/types/Frame.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,8 @@ export interface FrameInternal extends Frame {
* type `FrameHostObject` while containing properties of another instance ({@linkcode baseInstance})
* @param baseInstance The base instance to use.
* @internal
* @example ```ts
* @example
* ```ts
* const canvas = skSurface.getCanvas()
* const drawableFrame = frame.withBaseClass(canvas)
* // now `drawableFrame` has all methods from `canvas`, as well as `frame`.
Expand Down

0 comments on commit 1723408

Please sign in to comment.