Skip to content

Commit

Permalink
fix some bugs.
Browse files Browse the repository at this point in the history
  • Loading branch information
EiichiroIto committed Feb 3, 2022
1 parent 5d7b277 commit 3534982
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
testing
isEmpty
^ self nodes size = 0
2 changes: 2 additions & 0 deletions filetree/Gratch.package/SpGratch.class/instance/exportGDF.st
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
menu actions
exportGDF
grWorld isEmpty
ifTrue: [ ^ self ].
self export: GratchGDFExporter new extension: self gdfExtension
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
menu actions
saveGraphAsImage
| file saveForm |
grWorld isEmpty
ifTrue: [ ^ self ].
saveForm := self graphFormExtent: 480 @ 480.
saveForm ifNil: [ ^ self ].
file := UIManager default
Expand Down

0 comments on commit 3534982

Please sign in to comment.