shorter descriptions and icons for custom locations

This commit is contained in:
Laura Klünder 2017-12-26 01:51:37 +01:00
parent 508aa80576
commit 1c7c6543c8
5 changed files with 55 additions and 45 deletions

View file

@ -89,7 +89,8 @@ class Locator:
for pk, space, station_ids in good_spaces:
point, score = space.get_best_point(scan_values, station_ids)
if score < best_score:
location = CustomLocation(router.spaces[pk].level, point.x, point.y, permissions=permissions)
location = CustomLocation(router.spaces[pk].level, point.x, point.y,
permissions=permissions, icon='my_location')
best_location = location
best_score = score