diff --git a/packages/AnimationsEditor-Core.package/AnimationsEditorPropertyStartEnd.class/instance/defaultEndTime.st b/packages/AnimationsEditor-Core.package/AnimationsEditorPropertyStartEnd.class/instance/defaultEndTime.st index bb7cff3..f5b818f 100644 --- a/packages/AnimationsEditor-Core.package/AnimationsEditorPropertyStartEnd.class/instance/defaultEndTime.st +++ b/packages/AnimationsEditor-Core.package/AnimationsEditorPropertyStartEnd.class/instance/defaultEndTime.st @@ -1,3 +1,3 @@ defaults defaultEndTime - ^ 1000. \ No newline at end of file + ^ 0. \ No newline at end of file diff --git a/packages/AnimationsEditor-Core.package/AnimationsEditorPropertyStartEnd.class/methodProperties.json b/packages/AnimationsEditor-Core.package/AnimationsEditorPropertyStartEnd.class/methodProperties.json index fdc3748..5c003f8 100644 --- a/packages/AnimationsEditor-Core.package/AnimationsEditorPropertyStartEnd.class/methodProperties.json +++ b/packages/AnimationsEditor-Core.package/AnimationsEditorPropertyStartEnd.class/methodProperties.json @@ -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", diff --git a/packages/AnimationsEditor-Core.package/AnimationsEditorTimeline.class/instance/minimumExtent.st b/packages/AnimationsEditor-Core.package/AnimationsEditorTimeline.class/instance/minimumExtent.st new file mode 100644 index 0000000..6f9b121 --- /dev/null +++ b/packages/AnimationsEditor-Core.package/AnimationsEditorTimeline.class/instance/minimumExtent.st @@ -0,0 +1,4 @@ +constants +minimumExtent + + ^ 1000. \ No newline at end of file diff --git a/packages/AnimationsEditor-Core.package/AnimationsEditorTimeline.class/instance/updateExtent.st b/packages/AnimationsEditor-Core.package/AnimationsEditorTimeline.class/instance/updateExtent.st index db13d8b..c751dc7 100644 --- a/packages/AnimationsEditor-Core.package/AnimationsEditorTimeline.class/instance/updateExtent.st +++ b/packages/AnimationsEditor-Core.package/AnimationsEditorTimeline.class/instance/updateExtent.st @@ -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.] diff --git a/packages/AnimationsEditor-Core.package/AnimationsEditorTimeline.class/methodProperties.json b/packages/AnimationsEditor-Core.package/AnimationsEditorTimeline.class/methodProperties.json index 1b311fd..069f43a 100644 --- a/packages/AnimationsEditor-Core.package/AnimationsEditorTimeline.class/methodProperties.json +++ b/packages/AnimationsEditor-Core.package/AnimationsEditorTimeline.class/methodProperties.json @@ -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", @@ -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" } }