From fa3d53ab4e6a49c588fb39cc870c9cea61d8c51f Mon Sep 17 00:00:00 2001 From: Igor Kordiukiewicz Date: Tue, 1 Mar 2022 23:39:03 +0100 Subject: [PATCH] Fixed issue where panels in sprite frames editor couldn't be resized --- editor/plugins/sprite_frames_editor_plugin.cpp | 3 --- editor/plugins/sprite_frames_editor_plugin.h | 1 - 2 files changed, 4 deletions(-) diff --git a/editor/plugins/sprite_frames_editor_plugin.cpp b/editor/plugins/sprite_frames_editor_plugin.cpp index 27160f8c869..29beb8be841 100644 --- a/editor/plugins/sprite_frames_editor_plugin.cpp +++ b/editor/plugins/sprite_frames_editor_plugin.cpp @@ -48,9 +48,6 @@ static void _draw_shadowed_line(Control *p_control, const Point2 &p_from, const p_control->draw_line(p_from + p_shadow_offset, p_from + p_size + p_shadow_offset, p_shadow_color); } -void SpriteFramesEditor::gui_input(const Ref &p_event) { -} - void SpriteFramesEditor::_open_sprite_sheet() { file_split_sheet->clear_filters(); List extensions; diff --git a/editor/plugins/sprite_frames_editor_plugin.h b/editor/plugins/sprite_frames_editor_plugin.h index 9a00fe5771b..d31ce84d094 100644 --- a/editor/plugins/sprite_frames_editor_plugin.h +++ b/editor/plugins/sprite_frames_editor_plugin.h @@ -170,7 +170,6 @@ class SpriteFramesEditor : public HSplitContainer { protected: void _notification(int p_what); - virtual void gui_input(const Ref &p_event) override; static void _bind_methods(); public: