summaryrefslogtreecommitdiff
path: root/editor/plugins/audio_stream_editor_plugin.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-01-12 13:39:34 +0100
committerGitHub <noreply@github.com>2020-01-12 13:39:34 +0100
commit26bb08f8b3b009f17645558309f4c5c02733e4c2 (patch)
tree96edeac5bfdc699192155df89271d7b055e95ec8 /editor/plugins/audio_stream_editor_plugin.cpp
parentccf6f33813765d1e75e34313baecd805d1ad716e (diff)
parent65e2230f6e75df07441eda3038066f901ff143d9 (diff)
Merge pull request #35037 from timothyqiu/plugin-min-height
Fixes min size of various editor plugins on HiDPI
Diffstat (limited to 'editor/plugins/audio_stream_editor_plugin.cpp')
-rw-r--r--editor/plugins/audio_stream_editor_plugin.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/editor/plugins/audio_stream_editor_plugin.cpp b/editor/plugins/audio_stream_editor_plugin.cpp
index b6e5d48a83..60cb2ff54d 100644
--- a/editor/plugins/audio_stream_editor_plugin.cpp
+++ b/editor/plugins/audio_stream_editor_plugin.cpp
@@ -33,6 +33,7 @@
#include "core/io/resource_loader.h"
#include "core/project_settings.h"
#include "editor/audio_stream_preview.h"
+#include "editor/editor_scale.h"
#include "editor/editor_settings.h"
void AudioStreamEditor::_notification(int p_what) {
@@ -208,7 +209,7 @@ void AudioStreamEditor::_bind_methods() {
AudioStreamEditor::AudioStreamEditor() {
- set_custom_minimum_size(Size2(1, 100));
+ set_custom_minimum_size(Size2(1, 100) * EDSCALE);
_current = 0;
_dragging = false;