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 Henrik Heimbuerger

Owner: changed from somebody to Henrik Heimbuerger
Status: newassigned

comment:2 Changed 16 years ago by SVN

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.

comment:3 Changed 16 years ago by Henrik Heimbuerger

Status: assignedaccepted

comment:4 Changed 16 years ago by SVN

New commit by hheimbuerger (revision [196]):
[Partial fix for ticket #41] Implemented upper and lower limits for the track widget zooming controls.

comment:5 Changed 16 years ago by Henrik Heimbuerger

Milestone: MS2: Track editor availableMS1: First usable version

Batch moved all tickets from MS2 (track editor) to MS1 (first working version).

comment:6 Changed 16 years ago by Henrik Heimbuerger

Component: unspecifiedtrack

comment:7 Changed 16 years ago by SVN

New commit by hheimbuerger (revision [202]):
[Final fix for ticket #41] Implemented scrolling limits for the track widget viewport controls.

This also affects scrolling with the mouse.

comment:8 Changed 16 years ago by Henrik Heimbuerger

Resolution: fixed
Status: acceptedclosed
Note: See TracTickets for help on using tickets.