1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-06 12:20:30 +00:00

SpriteFramesEditor Fix preview grid in "Select Frames" dialog

This commit is contained in:
kleonc
2021-09-07 15:27:19 +02:00
parent 88c3e3180a
commit ad7a6102ae
2 changed files with 72 additions and 57 deletions

View File

@@ -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);