diff options
| author | Gilles Roudiere | 2017-07-06 09:16:27 +0200 |
|---|---|---|
| committer | Gilles Roudiere | 2017-08-13 21:20:13 +0200 |
| commit | 0d35d4d53b12197bea3650293bbc342fc0b57139 (patch) | |
| tree | afd384ffb3f6a8511fb7f052a0ef7da7256bfc05 /editor/plugins/camera_editor_plugin.cpp | |
| parent | 9575dbdf788e8a5154b3ec2f66913e731ac02850 (diff) | |
| download | godot-0d35d4d53b12197bea3650293bbc342fc0b57139.tar.gz godot-0d35d4d53b12197bea3650293bbc342fc0b57139.tar.zst godot-0d35d4d53b12197bea3650293bbc342fc0b57139.zip | |
Replace GUI anchor type by a float between 0 and 1
Diffstat (limited to 'editor/plugins/camera_editor_plugin.cpp')
| -rw-r--r-- | editor/plugins/camera_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/camera_editor_plugin.cpp b/editor/plugins/camera_editor_plugin.cpp index b8f8464ba..8e625c4a7 100644 --- a/editor/plugins/camera_editor_plugin.cpp +++ b/editor/plugins/camera_editor_plugin.cpp @@ -88,7 +88,7 @@ CameraEditor::CameraEditor() { preview->set_toggle_mode(true); preview->set_anchor(MARGIN_LEFT, Control::ANCHOR_END); preview->set_anchor(MARGIN_RIGHT, Control::ANCHOR_END); - preview->set_margin(MARGIN_LEFT, 60); + preview->set_margin(MARGIN_LEFT, -60); preview->set_margin(MARGIN_RIGHT, 0); preview->set_margin(MARGIN_TOP, 0); preview->set_margin(MARGIN_BOTTOM, 10); |
