Rename views to keyframe, curve and segment and update defaults

This commit is contained in:
Skyler Lehmkuhl
2025-10-23 05:38:10 -04:00
parent 5e1a30d812
commit 9649fe173b
5 changed files with 112 additions and 26 deletions
+2 -2
View File
@@ -60,8 +60,8 @@ class GraphicsObject extends Widget {
// Timeline display settings (Phase 3)
this.showSegment = true // Show segment bar in timeline
this.curvesMode = 'hidden' // 'hidden' | 'minimized' | 'expanded'
this.curvesHeight = 150 // Height in pixels when curves are expanded
this.curvesMode = 'keyframe' // 'segment' | 'keyframe' | 'curve'
this.curvesHeight = 150 // Height in pixels when curves are in curve view
this._globalEvents.add("mousedown")
this._globalEvents.add("mousemove")
+2 -2
View File
@@ -1047,8 +1047,8 @@ class AudioTrack {
// Timeline display settings (for track hierarchy)
this.collapsed = false
this.curvesMode = 'hidden' // 'hidden' | 'minimized' | 'expanded'
this.curvesHeight = 150 // Height in pixels when curves are expanded
this.curvesMode = 'segment' // 'segment' | 'keyframe' | 'curve'
this.curvesHeight = 150 // Height in pixels when curves are in curve view
pointerList[this.idx] = this;
}
+2 -2
View File
@@ -315,8 +315,8 @@ class Shape extends BaseShape {
// Timeline display settings (Phase 3)
this.showSegment = true // Show segment bar in timeline
this.curvesMode = 'hidden' // 'hidden' | 'minimized' | 'expanded'
this.curvesHeight = 150 // Height in pixels when curves are expanded
this.curvesMode = 'keyframe' // 'segment' | 'keyframe' | 'curve'
this.curvesHeight = 150 // Height in pixels when curves are in curve view
}
static fromJSON(json, parent) {
let fillImage = undefined;