Properly adjust the visible editor rect and make limits respected, closes #8328

This commit is contained in:
Juan Linietsky 2017-06-12 16:18:17 -03:00
parent 5f1603ca45
commit 42b2d52c88
3 changed files with 4 additions and 0 deletions

View file

@ -272,6 +272,8 @@ void EditorNode::_notification(int p_what) {
}
editor_selection->update();
scene_root->set_size_override(true, Size2(GlobalConfig::get_singleton()->get("display/window/width"), GlobalConfig::get_singleton()->get("display/window/height")));
ResourceImporterTexture::get_singleton()->update_imports();
}
if (p_what == NOTIFICATION_ENTER_TREE) {