Skip to content

Commit

Permalink
Merge pull request #42 from jordanmontt/without-fixed-shapes-by-default
Browse files Browse the repository at this point in the history
Exporting without fixed shapes by default
  • Loading branch information
akevalion committed Jun 7, 2023
2 parents bafce24 + c7dd89c commit 3854029
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions src/Roassal3-Exporters/RSRoassalExporter.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ RSRoassalExporter >> fileName: aString [
{ #category : #initialization }
RSRoassalExporter >> initialize [
super initialize.
self withFixedShapes.
self withoutFixedShapes.
self zoomToCurrentCamera.
]

Expand All @@ -110,7 +110,10 @@ RSRoassalExporter >> noDoubleDraw [

{ #category : #configuration }
RSRoassalExporter >> noFixedShapes [
showFixedShapes := false

self deprecated: 'Use withoutFixedShapes instead'
transformWith: '`@receiver noFixedShapes' -> ' `@receiver withoutFixedShapes'.
self withoutFixedShapes
]

{ #category : #removing }
Expand All @@ -128,6 +131,11 @@ RSRoassalExporter >> withFixedShapes [
showFixedShapes := true
]

{ #category : #configuration }
RSRoassalExporter >> withoutFixedShapes [
showFixedShapes := false
]

{ #category : #configuration }
RSRoassalExporter >> zoomToCurrentCamera [
self cameraSetter: RSCamSetter new
Expand Down

0 comments on commit 3854029

Please sign in to comment.