mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Fixes min size of various editor plugins on HiDPI
* AnimationTree * AudioStream * ResourcePreloader * ShaderEditor * VisualShaderEditor
This commit is contained in:
parent
b563de702c
commit
65e2230f6e
5 changed files with 9 additions and 5 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue