diff options
author | kleonc <9283098+kleonc@users.noreply.github.com> | 2021-09-07 15:27:19 +0200 |
---|---|---|
committer | kleonc <9283098+kleonc@users.noreply.github.com> | 2021-09-07 15:27:19 +0200 |
commit | ad7a6102aed9ca25524d169570c29a599ab8e2a5 (patch) | |
tree | e36a203fe1926943bcfa4fdb5d670bfc1b252ec3 /editor/plugins/sprite_frames_editor_plugin.h | |
parent | 88c3e3180a52b2460429dfc031555392394fd97d (diff) | |
download | redot-engine-ad7a6102aed9ca25524d169570c29a599ab8e2a5.tar.gz |
SpriteFramesEditor Fix preview grid in "Select Frames" dialog
Diffstat (limited to 'editor/plugins/sprite_frames_editor_plugin.h')
-rw-r--r-- | editor/plugins/sprite_frames_editor_plugin.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/plugins/sprite_frames_editor_plugin.h b/editor/plugins/sprite_frames_editor_plugin.h index 17e30f0cab..5e3b2fb8c1 100644 --- a/editor/plugins/sprite_frames_editor_plugin.h +++ b/editor/plugins/sprite_frames_editor_plugin.h @@ -135,6 +135,7 @@ class SpriteFramesEditor : public HSplitContainer { void _open_sprite_sheet(); void _prepare_sprite_sheet(const String &p_file); + int _sheet_preview_position_to_frame_index(const Vector2 &p_position); void _sheet_preview_draw(); void _sheet_spin_changed(double); void _sheet_preview_input(const Ref<InputEvent> &p_event); |