projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
726c10b
)
optimize canvas meter redrawing (as in the non-canvas version)
author
Paul Davis
<paul@linuxaudiosystems.com>
Sun, 25 Sep 2016 23:28:00 +0000
(18:28 -0500)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Tue, 27 Sep 2016 19:59:32 +0000
(14:59 -0500)
libs/canvas/meter.cc
patch
|
blob
|
history
diff --git
a/libs/canvas/meter.cc
b/libs/canvas/meter.cc
index 8d91e49d3e90c2adc75abbb67af9848090c3232e..dc22a930e8a044c01c8dcb74fb918954f23094e3 100644
(file)
--- a/
libs/canvas/meter.cc
+++ b/
libs/canvas/meter.cc
@@
-717,12
+717,10
@@
Meter::set (float lvl, float peak)
}
if (orientation == Vertical) {
-
//
queue_vertical_redraw (old_level);
+ queue_vertical_redraw (old_level);
} else {
-
//
queue_horizontal_redraw (old_level);
+ queue_horizontal_redraw (old_level);
}
-
- redraw ();
}
void