Skip to content

Commit

Permalink
comment improved
Browse files Browse the repository at this point in the history
  • Loading branch information
e11sy committed Aug 7, 2024
1 parent 3d87c88 commit d38e7b2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ListRenderer/ChecklistRenderer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import * as Dom from '../utils/Dom';
import { ListRendererInterface, DefaultListCssClasses, CssPrefix } from './ListRenderer';
import type { ListCssClasses } from './ListRenderer';

interface ChecklistCssClasses extends ListCssClasses{
interface ChecklistCssClasses extends ListCssClasses {
checklist: string;
itemChecked: string;
noHover: string;
Expand Down
3 changes: 2 additions & 1 deletion src/ListTabulator/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,8 @@ export default class ListTabulator {
const sublistWrapper = this.list?.renderWrapper(this.currentLevel);

/**
* Recursively render child items
* Recursively render child items, it will increase currentLevel varible
* after filling level with items we will need to decrease currentLevel
*/
this.appendItems(item.items, sublistWrapper!);
this.currentLevel -= 1;
Expand Down

0 comments on commit d38e7b2

Please sign in to comment.