mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 07:17:42 -05:00
Merge commit godotengine/godot@1bbfe637c6
This commit is contained in:
@@ -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"));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user