summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2022-04-26 08:15:20 +0200
committerGitHub <noreply@github.com>2022-04-26 08:15:20 +0200
commit2b50d4af5f3eaf18091821ced901627d294e5005 (patch)
treeb248c0cf426c395b1f88c9f0a8afdc314e2c6078
parent7ecddaf7826c33d78ae87db53b950a711ac7781c (diff)
parentfa3d53ab4e6a49c588fb39cc870c9cea61d8c51f (diff)
Merge pull request #58666 from IgorKordiukiewicz/sprite-frames-resize-panels
Fixed issue where panels in sprite frames editor couldn't be resized
-rw-r--r--editor/plugins/sprite_frames_editor_plugin.cpp3
-rw-r--r--editor/plugins/sprite_frames_editor_plugin.h1
2 files changed, 0 insertions, 4 deletions
diff --git a/editor/plugins/sprite_frames_editor_plugin.cpp b/editor/plugins/sprite_frames_editor_plugin.cpp
index 27160f8c86..29beb8be84 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<InputEvent> &p_event) {
-}
-
void SpriteFramesEditor::_open_sprite_sheet() {
file_split_sheet->clear_filters();
List<String> extensions;
diff --git a/editor/plugins/sprite_frames_editor_plugin.h b/editor/plugins/sprite_frames_editor_plugin.h
index 9a00fe5771..d31ce84d09 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<InputEvent> &p_event) override;
static void _bind_methods();
public: