Skip to content

Commit

Permalink
code cleanup, typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
JanBliznicenko committed Oct 24, 2024
1 parent cd9f2d2 commit 4654a35
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 68 deletions.
41 changes: 0 additions & 41 deletions repository/OpenPonk-Core/DoubleLink.extension.st

This file was deleted.

14 changes: 14 additions & 0 deletions repository/OpenPonk-Core/OPDiagramElement.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,20 @@ OPDiagramElement >> owningElement: aDiagramElement [
to: aDiagramElement
]

{ #category : 'actions' }
OPDiagramElement >> pushBack [

roassalShape ifNil: [ ^ self ].
roassalShape pushBack
]

{ #category : 'actions' }
OPDiagramElement >> pushFront [

roassalShape ifNil: [ ^ self ].
roassalShape pushFront
]

{ #category : 'removing' }
OPDiagramElement >> remove [

Expand Down
7 changes: 1 addition & 6 deletions repository/OpenPonk-Core/UUID.extension.st
Original file line number Diff line number Diff line change
@@ -1,13 +1,8 @@
Extension { #name : 'UUID' }

{ #category : '*OpenPonk-Core' }
UUID >> displayStringOn: aStream [

self printOn: aStream
]

{ #category : '*OpenPonk-Core' }
UUID class >> fromSton: stonReader [
"Backwards compatibility - UUID used to be printed differently"

stonReader peek = $[ ifTrue: [
^ super new
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,10 @@ Extension { #name : 'OSWindowMorphicEventHandler' }
{ #category : '*OpenPonk-Morphic' }
OSWindowMorphicEventHandler >> dispatchMorphicEvent: anEvent [

(anEvent isKindOf: MouseMoveEvent) ifTrue: [
morphicWorld worldState deferredUIMessages flushAllSuchThat: [
:each |
(anEvent isKindOf: MouseMoveEvent) ifTrue: [
morphicWorld worldState deferredUIMessages flushAllSuchThat: [ :each |
each size = 1 and: [ (each at: 1) isKindOf: MouseMoveEvent ] ] ].
morphicWorld defer: [
(morphicWorld activeHand isNotNil and: [ anEvent hand isNotNil ])
morphicWorld defer: [
(morphicWorld activeHand isNotNil and: [ anEvent hand isNotNil ])
ifTrue: [ morphicWorld activeHand handleEvent: anEvent ] ]
]
15 changes: 0 additions & 15 deletions repository/OpenPonk-Roassal/Announcer.extension.st

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ OPRSControlConfiguration class >> settingsOn: aBuilder [
(aBuilder setting: #dragSnapMargin)
parent: #openponk;
target: self;
label: 'Margin for srag snapping';
label: 'Margin for drag snapping';
description:
'When dragging a shape, it snaps to a horizontally or vertically aligned shapes within this margin, ie. in case of horizontal snapping, how much below of above the shapes can be to still snap to it.';
order: 72;
Expand Down

0 comments on commit 4654a35

Please sign in to comment.