Move in the window without pass frame boundaries.
| 1145 | |
| 1146 | // Move in the window without pass frame boundaries. |
| 1147 | bool SlidingWindow::moveWithinFrame(SINT64 delta) |
| 1148 | { |
| 1149 | const auto newPosition = savedPosition + delta; |
| 1150 | |
| 1151 | if (newPosition < frameStart || newPosition > frameEnd) |
| 1152 | return false; |
| 1153 | |
| 1154 | return moveWithinPartition(delta); |
| 1155 | } |