Skip to content

Commit

Permalink
fix(open-icon): auto-register correct "horizontal" icon (#449)
Browse files Browse the repository at this point in the history
  • Loading branch information
DRiFTy17 authored Feb 15, 2024
1 parent 29bf930 commit e30815f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/open-icon/open-icon.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { CustomElement, attachShadowTemplate, coerceBoolean, FoundationProperty } from '@tylertech/forge-core';
import { tylIconKeyboardArrowLeft, tylIconKeyboardArrowDown } from '@tylertech/tyler-icons/standard';
import { tylIconKeyboardArrowRight, tylIconKeyboardArrowDown } from '@tylertech/tyler-icons/standard';
import { OpenIconFoundation } from './open-icon-foundation';
import { OpenIconAdapter } from './open-icon-adapter';
import { OPEN_ICON_CONSTANTS } from './open-icon-constants';
Expand Down Expand Up @@ -41,7 +41,7 @@ export class OpenIconComponent extends BaseComponent implements IOpenIconCompone

constructor() {
super();
IconRegistry.define([tylIconKeyboardArrowLeft, tylIconKeyboardArrowDown]);
IconRegistry.define([tylIconKeyboardArrowRight, tylIconKeyboardArrowDown]);
attachShadowTemplate(this, template, styles);
this._foundation = new OpenIconFoundation(new OpenIconAdapter(this));
}
Expand Down

0 comments on commit e30815f

Please sign in to comment.