Bladeren bron

Fix a comment.

Naotoshi Fujita 3 jaren geleden
bovenliggende
commit
85c0c5a8ab
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      src/js/components/Layout/Layout.ts

+ 1 - 1
src/js/components/Layout/Layout.ts

@@ -162,7 +162,7 @@ export function Layout( Splide: Splide, Components: Components, options: Options
   /**
    * Returns the list width for the horizontal slider, or the height for the vertical slider.
    *
-   * @return The size of the track element in pixel.
+   * @return The size of the list element in pixel.
    */
   function listSize(): number {
     return rect( list )[ resolve( 'width' ) ];