Skip to content
This repository has been archived by the owner on Jun 9, 2023. It is now read-only.

Latest commit

 

History

History
45 lines (35 loc) · 2.99 KB

plugins.finalcutpro.timeline.zoomtoselection.md

File metadata and controls

45 lines (35 loc) · 2.99 KB

docs » plugins.finalcutpro.timeline.zoomtoselection


Zoom the Timeline to fit the currently-selected clips.

API Overview

API Documentation

Constants

Signature plugins.finalcutpro.timeline.zoomtoselection.DEFAULT_SHIFT -> number
Type Constant
Description Default Shift.
Signature plugins.finalcutpro.timeline.zoomtoselection.MIN_SHIFT -> number
Type Constant
Description Minimum Shift.
Signature plugins.finalcutpro.timeline.zoomtoselection.SELECTION_BUFFER -> number
Type Constant
Description The number of pixels of buffer space to allow the selection zoom to fit.

Methods

Signature plugins.finalcutpro.timeline.zoomtoselection.zoomToSelection() -> boolean
Type Method
Description Zooms the view to fit the currently-selected clips.
Parameters
  • None
Returns
  • true if there is selected content in the timeline and zooming was successful.