mirror of
https://github.com/google/blockly.git
synced 2026-02-12 02:20:10 +01:00
chore: Fix lint errors.
This commit is contained in:
@@ -26,7 +26,7 @@ export class FlyoutNavigationPolicy<T> implements INavigationPolicy<T> {
|
||||
/**
|
||||
* Returns null to prevent navigating into flyout items.
|
||||
*
|
||||
* @param _current The flyout item to navigate from.
|
||||
* @param current The flyout item to navigate from.
|
||||
* @returns Null to prevent navigating into flyout items.
|
||||
*/
|
||||
getFirstChild(current: T): IFocusableNode | null {
|
||||
|
||||
@@ -181,10 +181,10 @@ export class LineCursor extends Marker {
|
||||
* Returns whether or not navigation should loop around when reaching the end/
|
||||
* beginning of navigable items.
|
||||
*
|
||||
* @param direction The direction in which the user is navigating.
|
||||
* @param _direction The direction in which the user is navigating.
|
||||
* @returns True if navigation should be allowed to loop, otherwise false.
|
||||
*/
|
||||
shouldLoop(direction: NavigationDirection): boolean {
|
||||
shouldLoop(_direction: NavigationDirection): boolean {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user