[gnome-maps/wip/mlundblad/keep-left-right-icons: 2/2] route: Use icons for keep left/right instructions




commit fd893494d6a2de5a6920636db4197aac31014643
Author: Marcus Lundblad <ml dfupdate se>
Date:   Tue Jun 21 19:56:31 2022 +0200

    route: Use icons for keep left/right instructions

 src/route.js | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/src/route.js b/src/route.js
index f370fedb..6de38df5 100644
--- a/src/route.js
+++ b/src/route.js
@@ -130,7 +130,9 @@ export class TurnPoint {
         case TurnPoint.Type.SHARP_LEFT:   return 'maps-direction-sharpleft-symbolic';
         case TurnPoint.Type.LEFT:         return 'maps-direction-left-symbolic';
         case TurnPoint.Type.SLIGHT_LEFT:  return 'maps-direction-slightleft-symbolic';
+        case TurnPoint.Type.KEEP_LEFT:    return 'maps-direction-keep-left-symbolic';
         case TurnPoint.Type.CONTINUE:     return 'maps-direction-continue-symbolic';
+        case TurnPoint.Type.KEEP_RIGHT:   return 'maps-direction-keep-right-symbolic';
         case TurnPoint.Type.SLIGHT_RIGHT: return 'maps-direction-slightright-symbolic';
         case TurnPoint.Type.RIGHT:        return 'maps-direction-right-symbolic';
         case TurnPoint.Type.SHARP_RIGHT:  return 'maps-direction-sharpright-symbolic';


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]