diff options
| author | kubecz3k <kubecz3k@gmail.com> | 2017-08-15 22:55:49 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-08-15 22:55:49 +0200 |
| commit | 129ebca41d8ed85830580c593eafa2a8637cb5be (patch) | |
| tree | f357e95da9894f88b6c6910a087a710b2a62b64b /editor/plugins/spatial_editor_plugin.cpp | |
| parent | aa24ddc59f723ba51ea752d32f092ca5e7b6b9e3 (diff) | |
| parent | 0041e08f747f5d29ca7fbc65eb86175983aa84af (diff) | |
Merge pull request #9889 from groud/control_enhancements
Control node enhancements
Diffstat (limited to 'editor/plugins/spatial_editor_plugin.cpp')
| -rw-r--r-- | editor/plugins/spatial_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/spatial_editor_plugin.cpp b/editor/plugins/spatial_editor_plugin.cpp index 13fdb7ac9d..97f85d9971 100644 --- a/editor/plugins/spatial_editor_plugin.cpp +++ b/editor/plugins/spatial_editor_plugin.cpp @@ -2485,7 +2485,7 @@ SpatialEditorViewport::SpatialEditorViewport(SpatialEditor *p_spatial_editor, Ed preview_camera = memnew(Button); preview_camera->set_toggle_mode(true); - preview_camera->set_anchor_and_margin(MARGIN_LEFT, ANCHOR_END, 90 * EDSCALE); + preview_camera->set_anchor_and_margin(MARGIN_LEFT, ANCHOR_END, -90 * EDSCALE); preview_camera->set_anchor_and_margin(MARGIN_TOP, ANCHOR_BEGIN, 10 * EDSCALE); preview_camera->set_text("preview"); surface->add_child(preview_camera); |