Fixed a bug with an endless array which became bigger while cursors' moving and slowed down a whiteboard
This commit is contained in:
parent
30a1d0d880
commit
ea8fe5d146
@ -152,8 +152,8 @@ class Meteor.WhiteboardPaperModel
|
||||
if @current.shapes?
|
||||
@current.shapes.forEach (element) ->
|
||||
element.remove()
|
||||
@currentShapes = []
|
||||
@currentShapesDefinitions = []
|
||||
@current.shapeDefinitions = []
|
||||
@current.shapes.clear()
|
||||
@clearCursor()
|
||||
@createCursor()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user