diff options
| author | Juan Linietsky | 2017-01-12 18:27:27 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2017-01-12 18:28:12 -0300 |
| commit | da477b76a98ee7ca4ac16773d3baf1299e053da7 (patch) | |
| tree | 8cd8611b43081d51df4a293ae0b27f0b8ce50fa2 /scene/gui/color_picker.cpp | |
| parent | a971186c266de2df818a7f3dc063a49b0ad51bd8 (diff) | |
| download | godot-da477b76a98ee7ca4ac16773d3baf1299e053da7.tar.gz godot-da477b76a98ee7ca4ac16773d3baf1299e053da7.tar.zst godot-da477b76a98ee7ca4ac16773d3baf1299e053da7.zip | |
Diffstat (limited to 'scene/gui/color_picker.cpp')
| -rw-r--r-- | scene/gui/color_picker.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/gui/color_picker.cpp b/scene/gui/color_picker.cpp index ac8ce6856..a0a744284 100644 --- a/scene/gui/color_picker.cpp +++ b/scene/gui/color_picker.cpp @@ -487,7 +487,7 @@ ColorPicker::ColorPicker() : btn_pick = memnew( ToolButton ); btn_pick->connect("pressed",this,"_screen_pick_pressed"); - sample = memnew( TextureFrame ); + sample = memnew( TextureRect ); sample->set_h_size_flags(SIZE_EXPAND_FILL); sample->connect("draw",this,"_sample_draw"); @@ -590,7 +590,7 @@ ColorPicker::ColorPicker() : HBoxContainer *bbc = memnew( HBoxContainer ); add_child(bbc); - preset = memnew( TextureFrame ); + preset = memnew( TextureRect ); bbc->add_child(preset); //preset->set_ignore_mouse(false); preset->connect("gui_input", this, "_preset_input"); |
