Merge pull request #45607 from Calinou/improve-editor-theme

Improve the editor theme
This commit is contained in:
Rémi Verschelde 2021-05-06 16:45:07 +02:00 committed by GitHub
commit 6e621441ca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
19 changed files with 238 additions and 258 deletions

View file

@ -6491,7 +6491,6 @@ EditorNode::EditorNode() {
// Toggle for video driver
video_driver = memnew(OptionButton);
video_driver->set_flat(true);
video_driver->set_focus_mode(Control::FOCUS_NONE);
video_driver->connect("item_selected", callable_mp(this, &EditorNode::_video_driver_selected));
video_driver->add_theme_font_override("font", gui_base->get_theme_font("bold", "EditorFonts"));