summaryrefslogtreecommitdiff
path: root/editor/plugins/tile_map_editor_plugin.h
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2019-11-22 23:49:49 +0100
committerHugo Locurcio <hugo.locurcio@hugo.pro>2019-11-22 23:58:36 +0100
commit13f98f80b62f736f36de8b75722901d8dd8311a7 (patch)
tree459703f98991f0ffcb07042d21b49f4ae7fe62e1 /editor/plugins/tile_map_editor_plugin.h
parent91b60a74dfbbc23bf589a6e0edda5b957aa48df3 (diff)
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.
Diffstat (limited to 'editor/plugins/tile_map_editor_plugin.h')
-rw-r--r--editor/plugins/tile_map_editor_plugin.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/tile_map_editor_plugin.h b/editor/plugins/tile_map_editor_plugin.h
index e3d678c2fd..6400431bd1 100644
--- a/editor/plugins/tile_map_editor_plugin.h
+++ b/editor/plugins/tile_map_editor_plugin.h
@@ -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);