Commit 4e527a1a5ff1a0a8b44571a4d45da80b521bb8b7
1 parent
0317ac28
Exists in
master
and in
32 other branches
The scroll was delayed to some orientations
Showing
1 changed file
with
1 additions
and
2 deletions
Show diff stats
invesalius/data/styles.py
| @@ -216,9 +216,8 @@ class CrossInteractorStyle(DefaultInteractorStyle): | @@ -216,9 +216,8 @@ class CrossInteractorStyle(DefaultInteractorStyle): | ||
| 216 | coord_cross = self.slice_actor.GetInput().GetPoint(position) | 216 | coord_cross = self.slice_actor.GetInput().GetPoint(position) |
| 217 | 217 | ||
| 218 | coord = self.calcultate_scroll_position(position) | 218 | coord = self.calcultate_scroll_position(position) |
| 219 | - self.ScrollSlice(coord) | ||
| 220 | - | ||
| 221 | Publisher.sendMessage('Update cross position', coord_cross) | 219 | Publisher.sendMessage('Update cross position', coord_cross) |
| 220 | + self.ScrollSlice(coord) | ||
| 222 | Publisher.sendMessage('Set ball reference position based on bound', | 221 | Publisher.sendMessage('Set ball reference position based on bound', |
| 223 | coord_cross) | 222 | coord_cross) |
| 224 | Publisher.sendMessage('Set camera in volume', coord_cross) | 223 | Publisher.sendMessage('Set camera in volume', coord_cross) |