[squeak-dev] The Inbox: EToys-kfr.374.mcz
karl ramberg
karlramberg at gmail.com
Sat Jan 11 12:48:19 UTC 2020
This should go in Trunk, because it breaks Objects tool.
I would add it my self but I seem to have lost my Trunk password...
Best,
Karl
On Thu, Jan 2, 2020 at 7:50 PM <commits at source.squeak.org> wrote:
> A new version of EToys was added to project The Inbox:
> http://source.squeak.org/inbox/EToys-kfr.374.mcz
>
> ==================== Summary ====================
>
> Name: EToys-kfr.374
> Author: kfr
> Time: 2 January 2020, 7:49:35.08325 pm
> UUID: 710cb093-a31e-7f40-96a4-01adcaf3aa3a
> Ancestors: EToys-nice.373
>
> Fix spelling of symbol. I guess someone smart could make a nice joke about
> #shrinkWarp :-)
>
> =============== Diff against EToys-nice.373 ===============
>
> Item was changed:
> ----- Method: WeekMorph>>title (in category 'all') -----
> title
> "Answer a title with the names of the days."
> | title extent days |
> title := AlignmentMorph new
> layoutInset: 0;
> color: Color red;
> listDirection: #leftToRight;
> + vResizing: #shrinkWrap;
> - vResizing: #shrinkWarp;
> height: tileRect height.
> extent := self tile extent.
>
> days := (Week startDay = #Monday)
> ifTrue: [ #(2 3 4 5 6 7 1) ]
> ifFalse: [ 1 to: 7 ].
>
> (days reverse collect: [:each | Date nameOfDay: each]) do:
> [:each |
> title addMorph:
> ((self tileLabeled: (each copyFrom: 1 to: 2))
> extent: extent)].
> ^ title
> !
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20200111/f10a53a9/attachment.html>
More information about the Squeak-dev
mailing list
|