Skip to content

Commit

Permalink
Remove unsed and broken method: assuredCanvas
Browse files Browse the repository at this point in the history
Fixes #142
  • Loading branch information
tinchodias committed May 10, 2024
1 parent e93a094 commit 82d1423
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/BlocHost-Morphic/BlMorphicWorldState.class.st
Expand Up @@ -8,17 +8,6 @@ Class {
#category : #'BlocHost-Morphic-World'
}

{ #category : #canvas }
BlMorphicWorldState >> assuredCanvas [

(self canvas isNil or: [(self canvas extent ~= self viewBox extent) or: [self canvas form depth ~= Display depth]])
ifTrue:
["allocate a new offscreen canvas the size of the window"
self canvas: (display defaultCanvasClass extent: self viewBox extent)].

^ self canvas
]

{ #category : #accessing }
BlMorphicWorldState >> display [
<return: #Form>
Expand Down

0 comments on commit 82d1423

Please sign in to comment.