1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-18 14:21:41 +00:00

Cleanup some unecessary editor/ includes in scene/

Part of #29730, handles false positives.
This commit is contained in:
Rémi Verschelde
2019-06-12 22:35:35 +02:00
parent f410e7a8a9
commit 84d969a42a
5 changed files with 17 additions and 11 deletions

View File

@@ -29,10 +29,17 @@
/*************************************************************************/
#include "gradient_edit.h"
#include "core/os/keyboard.h"
#include "editor/editor_scale.h"
#include "core/os/keyboard.h"
#ifdef TOOLS_ENABLED
#include "editor/editor_scale.h"
#define SPACING (3 * EDSCALE)
#define POINT_WIDTH (8 * EDSCALE)
#else
#define SPACING 3
#define POINT_WIDTH 8
#endif
GradientEdit::GradientEdit() {
grabbed = -1;