-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
35 additions
and
15 deletions.
There are no files selected for viewing
5 changes: 5 additions & 0 deletions
5
packages/Presenter-Core.package/PSSlide.class/instance/extent..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
geometry | ||
extent: aPoint | ||
|
||
super extent: aPoint. | ||
self submorphsDo: [:each | each notifySlideRescale: aPoint] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,4 @@ | |
"class" : { | ||
}, | ||
"instance" : { | ||
"layout:in:" : "WoC 6/4/2018 16:54" } } | ||
"layout:in:" : "LB 6/6/2018 14:48" } } |
2 changes: 1 addition & 1 deletion
2
...enter-Tests.package/PSOnSlideTest.class/instance/assertDeviatesLessThan.onSlideResize..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
slide resizing | ||
assertDeviatesLessThan: aComparable onSlideResize: aBlock | ||
|
||
self assert: (self does: aBlock deviateLessThan: aComparable onResizeOf: self slide) | ||
self assert: (self does: aBlock deviateLessThan: aComparable onResizeOf: self container) |
4 changes: 4 additions & 0 deletions
4
packages/Presenter-Tests.package/PSOnSlideTest.class/instance/container..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
accessing | ||
container: aPSSlideContainer | ||
|
||
container := aPSSlideContainer |
4 changes: 4 additions & 0 deletions
4
packages/Presenter-Tests.package/PSOnSlideTest.class/instance/container.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
accessing | ||
container | ||
|
||
^ container |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,5 @@ running | |
tearDown | ||
|
||
self slide abandon. | ||
self container abandon. | ||
super tearDown |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
packages/Presenter-Tests.package/UITestCase.class/instance/does.answerSideRatio..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
helper functions | ||
does: aMorph answerSideRatio: aNumber | ||
|
||
^ (aMorph extent y - (aMorph extent x * aMorph sideRatio)) abs < 1 | ||
^ (aMorph extent y - (aMorph extent x * aNumber)) abs < 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters