Skip to content

Commit

Permalink
feat(list-item): update selection icon based on scale
Browse files Browse the repository at this point in the history
  • Loading branch information
jcfranco committed Nov 24, 2024
1 parent 8d53fa6 commit 5385870
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import { MoveTo } from "../sort-handle/interfaces";
import { useT9n } from "../../controllers/useT9n";
import type { SortHandle } from "../sort-handle/sort-handle";
import type { List } from "../list/list";
import { getIconScale } from "../../utils/component";
import T9nStrings from "./assets/t9n/list-item.t9n.en.json";
import { getDepth, hasListItemChildren } from "./utils";
import { CSS, activeCellTestAttribute, ICONS, SLOTS } from "./resources";
Expand Down Expand Up @@ -703,7 +704,7 @@ export class ListItem
? ICONS.unselectedMultiple
: ICONS.unselectedSingle
}
scale="s"
scale={getIconScale(this.scale)}
/>
</div>
);
Expand Down

0 comments on commit 5385870

Please sign in to comment.