Skip to content

Commit

Permalink
Duration not visible on start
Browse files Browse the repository at this point in the history
  • Loading branch information
ninaanre committed Jun 13, 2022
1 parent 0a1a6c0 commit d33926e
Show file tree
Hide file tree
Showing 8 changed files with 29 additions and 12 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
creation
createDuration

self deleteDuration.
self initializeDuration.
self duration acceptValue: (self getDurationString: self endTime).
self duration comeToFront.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
initialization
deleteDuration

self duration ifNotNil: [self duration abandon].
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
updating
getDurationString: aNumber
|temp|
temp:= aNumber/1000 asFloat.
^ 'Duration: ', temp, ' s'.
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,4 @@ initialize
extent: self initialExtent;
color: Color lightGray;
initializeStartEndTime;
setDefaultProperty;
initializeDuration.
setDefaultProperty.
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ initializeDuration

self duration: StringMorph new;
addMorph: self duration.
self duration position: 0@0;
self duration position: 5@7;
fontName: ('Bitmap DejaVu Sans') pointSize: 9;
color: Color black.
self duration comeToFront.
self duration acceptValue: self endTime.
self duration acceptValue: (self getDurationString: self endTime).

Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,4 @@ update: aStartEndProperty
self endTime: aStartEndProperty endTime.
self createTracks.
self addTimebar.
self duration acceptValue: self endTime.
self duration comeToFront.
self createDuration.
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,19 @@
"addTrackFor:withPosition:" : "MH 8/1/2021 18:58",
"animationsEditor" : "MH 8/1/2021 18:56",
"animationsEditor:" : "MH 8/1/2021 18:56",
"createDuration" : "NR 6/13/2022 12:19",
"createMovingLine" : "SG 5/21/2022 20:37",
"createTracks" : "MH 8/1/2021 18:58",
"deleteDuration" : "NR 6/13/2022 12:33",
"deleteTracks" : "MH 8/1/2021 18:48",
"duration" : "NR 6/5/2022 11:55",
"duration:" : "NR 6/5/2022 11:55",
"endTime" : "MH 8/1/2021 18:57",
"endTime:" : "MH 8/1/2021 18:57",
"getDurationString:" : "NR 6/13/2022 12:40",
"initialExtent" : "MH 8/1/2021 18:57",
"initialize" : "NR 6/5/2022 11:50",
"initializeDuration" : "NR 6/5/2022 12:09",
"initialize" : "NR 6/13/2022 12:24",
"initializeDuration" : "NR 6/13/2022 13:13",
"initializeStartEndTime" : "mjs 7/31/2021 17:38",
"movingLine" : "SG 5/21/2022 15:38",
"movingLine:" : "SG 5/21/2022 15:38",
Expand All @@ -29,5 +32,5 @@
"timebar" : "MH 8/1/2021 18:57",
"timebar:" : "MH 8/1/2021 18:57",
"trackHeight" : "MH 8/1/2021 18:57",
"update:" : "NR 6/5/2022 12:10",
"update:" : "NR 6/13/2022 12:24",
"updateExtent" : "MH 8/1/2021 18:58" } }
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"class" : {
"on:withProperty:withPosition:withExtent:" : "FH 8/1/2021 19:32" },
"on:withProperty:withPosition:withExtent:" : "NR 6/13/2022 12:28" },
"instance" : {
"addKeyframes" : "MH 8/1/2021 19:02",
"initialize" : "MH 8/1/2021 19:01",
"initializeMorph" : "MH 8/1/2021 19:01",
"initializeText" : "MH 8/1/2021 19:51",
"initializeTrack" : "MH 8/1/2021 19:01",
"initializeTrack" : "NR 6/13/2022 12:36",
"keyframeMargin" : "MH 8/1/2021 19:48",
"property" : "MH 8/1/2021 19:01",
"property:" : "MH 8/1/2021 19:01",
Expand Down

0 comments on commit d33926e

Please sign in to comment.