1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-11 13:10:58 +00:00

Use the CanvasItemEditor info overlay to display TileMap coordinates

This also removes the editor setting that toggles coordinate display,
as it no longer solves an existing bug.

This closes #28135.
This commit is contained in:
Hugo Locurcio
2019-11-22 23:49:49 +01:00
parent 91b60a74df
commit 13f98f80b6
2 changed files with 18 additions and 17 deletions

View File

@@ -109,7 +109,6 @@ class TileMapEditor : public VBoxContainer {
bool selection_active;
bool mouse_over;
bool show_tile_info;
bool flip_h;
bool flip_v;
@@ -218,6 +217,7 @@ protected:
public:
HBoxContainer *get_toolbar() const { return toolbar; }
HBoxContainer *get_toolbar_right() const { return toolbar_right; }
Label *get_tile_info() const { return tile_info; }
bool forward_gui_input(const Ref<InputEvent> &p_event);
void forward_canvas_draw_over_viewport(Control *p_overlay);