Skip to content

Commit

Permalink
initial duration
Browse files Browse the repository at this point in the history
  • Loading branch information
ninaanre committed Jul 18, 2022
1 parent 78608e5 commit 7dacb7c
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
defaults
defaultEndTime
^ 1000.
^ 0.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"buildStartInputWith:" : "FH 8/1/2021 19:30",
"buildUIWith:" : "FH 8/1/2021 19:30",
"canRenderUI" : "DM 8/6/2020 10:11",
"defaultEndTime" : "mjs 8/1/2021 13:45",
"defaultEndTime" : "NR 7/18/2022 10:28",
"defaultStartTime" : "DM 8/6/2020 10:37",
"endTime" : "FH 8/1/2021 19:29",
"endTime:" : "FH 8/1/2021 19:29",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
constants
minimumExtent

^ 1000.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ updateExtent
| normalHeight fullWidth |

normalHeight := self scrollPane height - self borderWidth.
fullWidth := self endTime + self startMargin + self endMargin.
fullWidth := (self endTime max: self minimumExtent) + self startMargin + self endMargin.
self width: fullWidth.
fullWidth > self scrollPane width
ifTrue: [self height: normalHeight - self scrollPane scrollBarThickness.]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"initialExtent" : "MH 8/1/2021 18:57",
"initialize" : "SG 5/21/2022 15:43",
"initializeStartEndTime" : "mjs 7/31/2021 17:38",
"minimumExtent" : "NR 7/18/2022 10:43",
"movingLine" : "SG 5/21/2022 15:38",
"movingLine:" : "SG 5/21/2022 15:38",
"property" : "MH 8/1/2021 18:57",
Expand All @@ -29,5 +30,5 @@
"timebar:" : "MH 8/1/2021 18:57",
"trackHeight" : "MH 8/1/2021 18:57",
"update:" : "SG 5/23/2022 18:40",
"updateExtent" : "MH 8/1/2021 18:58",
"updateExtent" : "NR 7/18/2022 10:41",
"updateStartEndProperty" : "6/17/2022 14:09:28" } }

0 comments on commit 7dacb7c

Please sign in to comment.