SketchWidget takes window parameter
This commit is contained in:
parent
b34ba613b2
commit
8c76ce3155
@ -9,8 +9,9 @@ from shapes import *
|
||||
from constraints import *
|
||||
|
||||
class SketchWidget:
|
||||
def __init__(self, sketch):
|
||||
def __init__(self, sketch, window):
|
||||
self.sketch = sketch
|
||||
self.window = window
|
||||
self.view_center = (0, 0)
|
||||
self.view_width = 4.0
|
||||
self.size = (1, 1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user