Skip to content

Commit

Permalink
Fix some icons which were recently broken after the Font Awesome upgr…
Browse files Browse the repository at this point in the history
…ade.
  • Loading branch information
sedwards2009 committed Apr 3, 2018
1 parent 1ffa660 commit 1ca0a5c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion extraterm/resources/themes/default/_main-ui-titlebar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@ $resize-bar-height: pxToRem(4px);
}

#ID_CLOSE_BUTTON:before {
font-family: FontAwesome;
font-family: "Font Awesome 5 Free";
font-weight: 900;
font-size: 120%;
content: "\f00d";
}
Expand Down
2 changes: 1 addition & 1 deletion extraterm/src/render_process/viewers/TerminalViewer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ export class TerminalViewer extends ViewerElement implements Commandable, keybin
getMetadata(): ViewerMetadata {
const metadata = super.getMetadata();
metadata.title = this._commandLine !== null ? this._commandLine : "Terminal Command";
metadata.icon = this._returnCode === '0' ? 'fa-check' : 'fa-times';
metadata.icon = this._returnCode === "0" ? "fa fa-check" : "fa fa-times";

switch(this._returnCode) {
case null:
Expand Down

0 comments on commit 1ca0a5c

Please sign in to comment.