You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-11 13:10:58 +00:00
Native pan and zoom for macOS
This commit is contained in:
@@ -204,6 +204,7 @@ class CodeTextEditor : public VBoxContainer {
|
||||
|
||||
Timer *font_resize_timer;
|
||||
int font_resize_val;
|
||||
real_t font_size;
|
||||
|
||||
Label *error;
|
||||
|
||||
@@ -212,10 +213,12 @@ class CodeTextEditor : public VBoxContainer {
|
||||
void _update_font();
|
||||
void _complete_request();
|
||||
void _font_resize_timeout();
|
||||
bool _add_font_size(int p_delta);
|
||||
|
||||
void _text_editor_gui_input(const Ref<InputEvent> &p_event);
|
||||
void _zoom_in();
|
||||
void _zoom_out();
|
||||
void _zoom_changed();
|
||||
void _reset_zoom();
|
||||
|
||||
CodeTextEditorCodeCompleteFunc code_complete_func;
|
||||
|
||||
Reference in New Issue
Block a user