diff options
| author | Gilles Roudiere | 2017-09-22 00:12:33 +0200 |
|---|---|---|
| committer | Gilles Roudiere | 2017-09-22 11:39:44 +0200 |
| commit | 05bb8e0c106686f2ed5a9aad0f76ecc64fa5faa0 (patch) | |
| tree | 8ab5d7e6651f48d1a19a7f7d7586c8bcce43628d /scene/gui/color_picker.cpp | |
| parent | 92f062696adc5efee2355259f42f5462ec42a605 (diff) | |
| download | godot-05bb8e0c106686f2ed5a9aad0f76ecc64fa5faa0.tar.gz godot-05bb8e0c106686f2ed5a9aad0f76ecc64fa5faa0.tar.zst godot-05bb8e0c106686f2ed5a9aad0f76ecc64fa5faa0.zip | |
Diffstat (limited to 'scene/gui/color_picker.cpp')
| -rw-r--r-- | scene/gui/color_picker.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/color_picker.cpp b/scene/gui/color_picker.cpp index 704c00b1d..62a48ad49 100644 --- a/scene/gui/color_picker.cpp +++ b/scene/gui/color_picker.cpp @@ -461,7 +461,7 @@ void ColorPicker::_screen_pick_pressed() { screen = memnew(Control); r->add_child(screen); screen->set_as_toplevel(true); - screen->set_area_as_parent_rect(); + screen->set_anchors_and_margins_preset(Control::PRESET_WIDE); screen->set_default_cursor_shape(CURSOR_POINTING_HAND); screen->connect("gui_input", this, "_screen_input"); } |
