fix bug in not properly updating squares vector
This commit is contained in:
@@ -150,7 +150,7 @@ struct
|
||||
val ypos = Vector.sub (yClickPoints, vIdx)
|
||||
|
||||
val model = AppWith.addSquare
|
||||
(model, realToInt xpos, realToInt ypos, hIdx, vIdx)
|
||||
(model, hIdx, vIdx, hIdx, vIdx)
|
||||
val squares = #squares model
|
||||
|
||||
val dotVec = getDotVecFromIndices (model, hIdx, vIdx)
|
||||
|
||||
Reference in New Issue
Block a user