1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-08 12:40:44 +00:00

Refactoring FPS & information on 3D viewport

- FPS label position adjusted with Preview button
- Remove unnecessary Panel control
- Remove unnecessary check condition
This commit is contained in:
volzhs
2017-12-17 21:06:21 +09:00
parent f1683a290b
commit 4073de88cb
3 changed files with 28 additions and 45 deletions

View File

@@ -106,7 +106,6 @@ private:
int index;
String name;
void _menu_option(int p_option);
Size2 prev_size;
Spatial *preview_node;
AABB *preview_bounds;
@@ -136,10 +135,7 @@ private:
bool freelook_active;
real_t freelook_speed;
PanelContainer *info;
Label *info_label;
PanelContainer *fps;
Label *fps_label;
struct _RayResult {