http://mcolxyzogp3cy4czf52oa2svu2vjge3otm3shxmtvwshyum47sis3iid.onion/code/qtools/file/qtools/widget/habit_tracker.py.html
_chain 145 for col in range(chain // self.rows + 1): 146 x_pos = self.margin_x + col * 2 * block_size 147 this_col = min(chain - col * self.rows, self.rows) 148 rows = range(this_col) 149 if col % 2: 150 rows = [self.rows - 1 - i for i in rows] 151 for row in rows: 152 chain % ((col + 1) * self.rows) 153 y_pos = start_y - row * 2 * block_size 154 self.drawer.ctx.rectangle(x_pos, y_pos, block_size, block_size) 155 156 self.drawer.ctx.fill() 157 self.drawer.draw(offsetx=self.offset,...