Skip to content

Commit

Permalink
Add a default extent of at least 2000 by 2000 pixel to the space when…
Browse files Browse the repository at this point in the history
… created
  • Loading branch information
Nyan11 committed Dec 11, 2024
1 parent 8e9af98 commit 98f6fae
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Pyramid-Bloc/PyramidSpaceBuilder.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,9 @@ PyramidSpaceBuilder >> addOverlayNamed: aString [
{ #category : #'as yet unclassified' }
PyramidSpaceBuilder >> build [

self space: BlSpace new.
self space: (BlSpace new
extent: 2000 asPoint;
yourself).
self space userData at: #pyramid_isEditor put: true.

self overlays ifEmpty: [ ^ self space ].
Expand Down

0 comments on commit 98f6fae

Please sign in to comment.