Fix editor graph delegate vertex hit radius

directional-lights
Sven Eberhardt 2016-11-12 21:57:40 -05:00
parent 1621e984a9
commit 83c1d25b84
1 changed files with 1 additions and 1 deletions

View File

@ -800,7 +800,7 @@ C4ConsoleQtGraph::C4ConsoleQtGraph(C4Object *for_obj, C4PropList *props, const c
bool C4ConsoleQtGraph::IsHit(int32_t x, int32_t y, int32_t hit_range, Qt::CursorShape *drag_cursor, int32_t *drag_border, bool shift_down, bool ctrl_down)
{
// Check hit on vertices
int32_t i = 0, best_hit_range = hit_range*hit_range * 6;
int32_t i = 0, best_hit_range = hit_range*hit_range * 6*6;
bool has_hit = false;
for (const Vertex &vtx : graph.vertices)
{