Skip to content

Commit

Permalink
[feenkcom/gtoolkit#4136] cleaning code
Browse files Browse the repository at this point in the history
  • Loading branch information
Oscar Nierstrasz committed Oct 30, 2024
1 parent cb9b09c commit bd3c3d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
8 changes: 1 addition & 7 deletions src/GToolkit-Mondrian/LePageMondrianMap.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -87,13 +87,7 @@ LePageMondrianMap >> pageMap [
| m |
m := GtMondrian new.
m nodes
stencil: [ :title |
(LePageTitleLabelBuilder forTitle: title andDatabase: self database) build

"(page isKindOf: LePage)
ifTrue: [ page asClickableLabel asStencil ]
ifFalse: [ (self labelFor: page) asStencil ] "
];
stencil: [ :title | (LePageTitleLabelBuilder forTitle: title andDatabase: self database) build ];
with: self pageTitles.
m edges
fromNearestBounds;
Expand Down
2 changes: 1 addition & 1 deletion src/GToolkit-Mondrian/LePageMondrianMapExamples.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ LePageMondrianMapExamples >> oldPatternMapwithExplicitPositions [
(self root children collect: #position)"

<gtExample>
^ self patternMap
^ self oldPatternMap
explicitPositions: {184.9584903717041 @ 245.31882731119794.
372.0 @ 243.91666666666669.
399.2699890136719 @ 297.9166666666667.
Expand Down

0 comments on commit bd3c3d5

Please sign in to comment.