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
Don't redraw playhead more than necessary.
tags/non-daw-v1.1.0
Jonathan Moore Liles
17 years ago
parent
ab20e03eb2
commit
ebc3f8db92
1 changed files
with
7 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+7
-1
Timeline/Timeline.C
+ 7
- 1
Timeline/Timeline.C
View File
@@ -475,7 +475,13 @@ Timeline::draw_playhead ( void )
void
Timeline::redraw_playhead ( void )
{
redraw_overlay();
static nframes_t last_playhead = -1;
if ( last_playhead != transport.frame )
{
redraw_overlay();
last_playhead = transport.frame;
}
}
Write
Preview
Loading…
Cancel
Save