@@ -66,7 +66,10 @@ export class ArrowNavigation {
6666 if (
6767 ! this . navigation . defaultWorkspaceCursorPositionIfNeeded ( workspace )
6868 ) {
69- workspace . getCursor ( ) . in ( ) ;
69+ const newNode = workspace . getCursor ( ) . in ( ) ;
70+ if ( ! newNode ) {
71+ workspace . getAudioManager ( ) . beep ( 260 ) ;
72+ }
7073 }
7174 isHandled = true ;
7275 }
@@ -99,7 +102,10 @@ export class ArrowNavigation {
99102 if (
100103 ! this . navigation . defaultWorkspaceCursorPositionIfNeeded ( workspace )
101104 ) {
102- workspace . getCursor ( ) . out ( ) ;
105+ const newNode = workspace . getCursor ( ) . out ( ) ;
106+ if ( ! newNode ) {
107+ workspace . getAudioManager ( ) . beep ( 260 ) ;
108+ }
103109 }
104110 isHandled = true ;
105111 }
@@ -165,7 +171,10 @@ export class ArrowNavigation {
165171 workspace ,
166172 )
167173 ) {
168- workspace . getCursor ( ) . next ( ) ;
174+ const newNode = workspace . getCursor ( ) . next ( ) ;
175+ if ( ! newNode ) {
176+ workspace . getAudioManager ( ) . beep ( 260 ) ;
177+ }
169178 }
170179 isHandled = true ;
171180 }
@@ -178,7 +187,10 @@ export class ArrowNavigation {
178187 workspace . targetWorkspace ,
179188 )
180189 ) {
181- workspace . getCursor ( ) . next ( ) ;
190+ const newNode = workspace . getCursor ( ) . next ( ) ;
191+ if ( ! newNode ) {
192+ workspace . getAudioManager ( ) . beep ( 260 ) ;
193+ }
182194 }
183195 isHandled = true ;
184196 }
@@ -228,7 +240,10 @@ export class ArrowNavigation {
228240 'last' ,
229241 )
230242 ) {
231- workspace . getCursor ( ) . prev ( ) ;
243+ const newNode = workspace . getCursor ( ) . prev ( ) ;
244+ if ( ! newNode ) {
245+ workspace . getAudioManager ( ) . beep ( 260 ) ;
246+ }
232247 }
233248 isHandled = true ;
234249 }
@@ -242,7 +257,10 @@ export class ArrowNavigation {
242257 'last' ,
243258 )
244259 ) {
245- workspace . getCursor ( ) . prev ( ) ;
260+ const newNode = workspace . getCursor ( ) . prev ( ) ;
261+ if ( ! newNode ) {
262+ workspace . getAudioManager ( ) . beep ( 260 ) ;
263+ }
246264 }
247265 isHandled = true ;
248266 }
0 commit comments