This website works better with JavaScript.
Home
Help
Sign In
linuxaudio
/
new-session-manager
mirror of
https://github.com/linuxaudio/new-session-manager
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
17
Wiki
Activity
Browse Source
Fix selection bug for Control Points.
A recent selection model change interfered with the ability to edit the Y-axis of control points.
tags/non-daw-v1.1.0
Jonathan Moore Liles
16 years ago
parent
78afa80db8
commit
f3226cd1a0
2 changed files
with
4 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-1
Timeline/Control_Point.C
+2
-0
Timeline/Sequence_Widget.H
+ 2
- 1
Timeline/Control_Point.C
View File
@@ -112,7 +112,8 @@ Control_Point::handle ( int m )
{
sequence()->sort();
if ( selected() )
if ( nselected() > 1 )
// only allow horizontal movement when part of a selection...
break;
int Y = Fl::event_y() - parent()->y();
+ 2
- 0
Timeline/Sequence_Widget.H
View File
@@ -163,6 +163,8 @@ public:
virtual Sequence_Widget *clone ( void ) const = 0;
bool selected ( void ) const;
int nselected ( void ) const
{ return _selection.size(); }
void select ( void );
void deselect ( void );
void remove ( void );
Write
Preview
Loading…
Cancel
Save