diff --git a/viloca/tiling.py b/viloca/tiling.py index 2665f2b..5a2ab77 100644 --- a/viloca/tiling.py +++ b/viloca/tiling.py @@ -103,8 +103,9 @@ def get_window_tilings(self) -> List[Tuple[int, int]]: self.end - 1, self.incr )) - #while window_positions[-1] + self.window_length >= self.end: - # del window_positions[-1] # FIXME uncommented to create one single window + while window_positions[-1] + self.window_length >= self.end: + del window_positions[-1] # FIXME uncommented to create one single window + window_positions.append(self.end - 1 - self.window_length) else: window_positions = list(range(