Opened 16 years ago
Closed 16 years ago
#41 closed enhancement (fixed)
Implement limits for the track widget viewport controls
Reported by: | Henrik Heimbuerger | Owned by: | Henrik Heimbuerger |
---|---|---|---|
Priority: | trivial | Milestone: | MS1: First release (1.0.0) |
Component: | track | Version: | pre-1.0 |
Keywords: | track view, limit | Cc: |
Description
The controls of the track view (both the 2nd/3rd mouse button feature as well as the buttons) currently allow panning and zooming infinitely. This should be limited: panning should only be allowed as long as at least a little bit of the track is still visible and zooming should be restricted to a factor between 0 and some arbitrary maximum zoom level.
Change History (8)
comment:1 Changed 16 years ago by
Owner: | changed from somebody to Henrik Heimbuerger |
---|---|
Status: | new → assigned |
comment:2 Changed 16 years ago by
comment:3 Changed 16 years ago by
Status: | assigned → accepted |
---|
comment:4 Changed 16 years ago by
comment:5 Changed 16 years ago by
Milestone: | MS2: Track editor available → MS1: First usable version |
---|
Batch moved all tickets from MS2 (track editor) to MS1 (first working version).
comment:6 Changed 16 years ago by
Component: | unspecified → track |
---|
comment:7 Changed 16 years ago by
comment:8 Changed 16 years ago by
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
Note: See
TracTickets for help on using
tickets.
New commit by hheimbuerger (revision [149]):
[Partial fix for ticket #41] Fixed bounding box calculation.
So far, the track bounding box was affected by the viewport and not actually parallel to it. This has been fixed. The bounding box will be necessary to determine the maximum scrolling amount.