py3: Draft: Trackers integer division
This commit is contained in:
parent
8165b2ab85
commit
76a4e7469b
|
@ -803,8 +803,8 @@ class gridTracker(Tracker):
|
|||
def update(self):
|
||||
"redraws the grid"
|
||||
# resize the grid to make sure it fits an exact pair number of main lines
|
||||
numlines = self.numlines/self.mainlines/2*2*self.mainlines
|
||||
bound = (numlines/2)*self.space
|
||||
numlines = self.numlines//self.mainlines//2*2*self.mainlines
|
||||
bound = (numlines//2)*self.space
|
||||
pts = []
|
||||
mpts = []
|
||||
apts = []
|
||||
|
|
Loading…
Reference in New Issue
Block a user