Skip to content

Commit

Permalink
Add extent equality check for Form>>squotEqual:
Browse files Browse the repository at this point in the history
  • Loading branch information
MariusDoe committed Nov 16, 2023
1 parent a896848 commit 8d5dc21
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/Squot.package/Form.extension/instance/squotEqual..st
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
squotEqual: anObject
self == anObject ifTrue: [^ true].
anObject isForm ifFalse: [^ false].
self extent = anObject extent ifFalse: [^ false].
^ (self pixelCompare: (0@0 corner: self extent) with: anObject at: 0@0) = 0
2 changes: 1 addition & 1 deletion src/Squot.package/Form.extension/methodProperties.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
"class" : {
},
"instance" : {
"squotEqual:" : "mad 8/29/2023 16:42" } }
"squotEqual:" : "mad 11/16/2023 10:44" } }

0 comments on commit 8d5dc21

Please sign in to comment.