summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorJuan Linietsky <juan@godotengine.org>2019-02-21 17:50:02 -0300
committerJuan Linietsky <juan@godotengine.org>2019-02-21 17:50:02 -0300
commit30a4723d9c974daaaf6b8af581b2d66c6b31b119 (patch)
tree4faf7cf80d72ebae6b45a7390ca0a335fa32f418 /editor
parentd13ac2a4137c043b282a8a1a15e4c400089e04f2 (diff)
Fix audio previews, closes #25979
Diffstat (limited to 'editor')
-rw-r--r--editor/audio_stream_preview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/audio_stream_preview.cpp b/editor/audio_stream_preview.cpp
index 1ddd4552d3..85db8b77f9 100644
--- a/editor/audio_stream_preview.cpp
+++ b/editor/audio_stream_preview.cpp
@@ -77,7 +77,7 @@ float AudioStreamPreview::get_min(float p_time, float p_time_next) const {
time_to = time_from + 1;
}
- uint8_t vmin = 0;
+ uint8_t vmin = 255;
for (int i = time_from; i < time_to; i++) {