Skip to content

Commit

Permalink
removed call of removed method
Browse files Browse the repository at this point in the history
  • Loading branch information
JanBliznicenko committed Oct 13, 2023
1 parent 460ab2f commit 61685d2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,13 @@ OPRSDraggableControlPoints >> connectWithCanvas [
interaction := canvas propertyAt: OPRSSelectableCanvas ifAbsent: [
line
when: RSMouseLeftClick
do: [ :event | self showHandles ].
do: [ :event | self showHandles ]
for: self.
canvas
when: RSMouseLeftClick
do: [ :event |
event shape = line ifFalse: [ self removeHandles ] ].
event shape = line ifFalse: [ self removeHandles ] ]
for: self.
^ self ].
interaction
when: OPRSSelectionEndEvent
Expand Down
13 changes: 3 additions & 10 deletions repository/OpenPonk-Spec/OPEditor.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ Class {
'zoomLabel',
'diagramController',
'plugin',
'shortcuts',
'canvasPresenter',
'canvasMenu',
'form',
Expand Down Expand Up @@ -129,7 +128,7 @@ OPEditor >> canvasPresenter [
^ canvasPresenter
]

{ #category : #'as yet unclassified' }
{ #category : #initialization }
OPEditor >> connectPresenters [

| menu |
Expand All @@ -155,7 +154,7 @@ OPEditor >> form [
^ form
]

{ #category : #'as yet unclassified' }
{ #category : #initialization }
OPEditor >> initializePresenters [

canvasMenu := self newMenuBar.
Expand Down Expand Up @@ -209,7 +208,7 @@ OPEditor >> openEmptyModel: aModel [
self rebuildWidget
]

{ #category : #'as yet unclassified' }
{ #category : #initialization }
OPEditor >> openFormOn: aController [

form editController: aController
Expand Down Expand Up @@ -252,15 +251,9 @@ OPEditor >> tabDeleted [
diagramController diagramElement.
self workbench projectController removeDiagramController:
diagramController.
self unregisterShortcutsOn: self workbench.
diagramController removeRender
]

{ #category : #shortcuts }
OPEditor >> unregisterShortcutsOn: aPresenter [
shortcuts do: [ :pair | aPresenter removeKeyCombination: pair key ]
]

{ #category : #updating }
OPEditor >> updateUndoRedo [
self flag: #unused.
Expand Down

0 comments on commit 61685d2

Please sign in to comment.