mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
EditorSettings: Factor code to compute auto display scale
Also fixes typo introduced in https://github.com/godotengine/godot/pull/48597/files#r652636544.
This commit is contained in:
parent
badad53438
commit
f862f9a056
4 changed files with 31 additions and 82 deletions
|
|
@ -174,6 +174,7 @@ public:
|
|||
|
||||
Vector<String> get_script_templates(const String &p_extension, const String &p_custom_path = String());
|
||||
String get_editor_layouts_config() const;
|
||||
float get_auto_display_scale() const;
|
||||
|
||||
void add_shortcut(const String &p_name, Ref<Shortcut> &p_shortcut);
|
||||
bool is_shortcut(const String &p_name, const Ref<InputEvent> &p_event) const;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue