This commit is contained in:
Spartan322
2025-06-10 22:00:50 -04:00
752 changed files with 308535 additions and 451989 deletions

View File

@@ -5393,6 +5393,12 @@ String EditorNode::_get_system_info() const {
info.push_back(vformat("%s (%d threads)", processor_name, processor_count));
const int64_t system_ram = OS::get_singleton()->get_memory_info()["physical"];
if (system_ram > 0) {
// If the memory info is available, display it.
info.push_back(vformat("%s memory", String::humanize_size(system_ram)));
}
return String(" - ").join(info);
}
@@ -8125,7 +8131,7 @@ EditorNode::EditorNode() {
renderer->set_flat(true);
renderer->set_theme_type_variation("TopBarOptionButton");
renderer->set_fit_to_longest_item(false);
renderer->set_focus_mode(Control::FOCUS_NONE);
renderer->set_focus_mode(Control::FOCUS_ACCESSIBILITY);
renderer->set_tooltip_text(TTR("Choose a rendering method.\n\nNotes:\n- On mobile platforms, the Mobile rendering method is used if Forward+ is selected here.\n- On the web platform, the Compatibility rendering method is always used."));
renderer->set_accessibility_name(TTRC("Rendering Method"));