Skip to content

Commit

Permalink
Remove TLMemorizeNodePositionAction related code.
Browse files Browse the repository at this point in the history
Fixes #49
  • Loading branch information
jecisc committed Jul 8, 2019
1 parent 37b3696 commit 0406a6b
Showing 1 changed file with 1 addition and 22 deletions.
23 changes: 1 addition & 22 deletions src/Telescope-Cytoscape/TLVirtualNode.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -84,15 +84,6 @@ TLVirtualNode >> defineFixedPositionFromAbsolute: aPosition [
self defineFixedRelativePosition: (self calculateRelativePositionFromAbsolute: aPosition)
]

{ #category : #position }
TLVirtualNode >> defineFixedRelativePosition: aPosition [
self userFixedPosition: false.
aPosition
ifNotNil: [
self position: aPosition.
self userFixedPosition: true ]
]

{ #category : #accessing }
TLVirtualNode >> dimension [
^ self hasChildren
Expand Down Expand Up @@ -149,7 +140,6 @@ TLVirtualNode >> incomingAdjacentNodes [
TLVirtualNode >> initialize [
super initialize.
self children: (TLVirtualGroup new composite: self).
self userFixedPosition: false.
triggers:= OrderedCollection new
]

Expand Down Expand Up @@ -201,8 +191,7 @@ TLVirtualNode >> position [

{ #category : #accessing }
TLVirtualNode >> position: anObject [
self userFixedPosition
ifFalse: [ position := anObject ].
position := anObject.
self clearEncompassingRectangle
]

Expand Down Expand Up @@ -240,16 +229,6 @@ TLVirtualNode >> triggers [
^ triggers
]

{ #category : #accessing }
TLVirtualNode >> userFixedPosition [
^ userFixedPosition
]

{ #category : #accessing }
TLVirtualNode >> userFixedPosition: anObject [
userFixedPosition := anObject
]

{ #category : #accessing }
TLVirtualNode >> width [
^ self dimension x
Expand Down

0 comments on commit 0406a6b

Please sign in to comment.