Skip to content

Commit

Permalink
Merge branch 'gh-pages' of https://github.com/LivelyKernel/lively4-core
Browse files Browse the repository at this point in the history
… into gh-pages
  • Loading branch information
JensLincke committed Dec 11, 2023
2 parents c904a16 + 75414fc commit 8f7872a
Show file tree
Hide file tree
Showing 2 changed files with 178 additions and 106 deletions.
7 changes: 0 additions & 7 deletions src/components/widgets/ubg-cards-entry.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,6 @@ export default class UBGCardEntry extends Morph {
this.get('#type').className = {
spell: 'fa fa-magic',
gadget: 'fa fa-gear',
goal: 'fa fa-map-marker',
character: 'fa fa-user',
trap: 'fa fa-bug'
}[type && type.toLowerCase()] || 'fa fa-question';
Expand Down Expand Up @@ -242,12 +241,6 @@ export default class UBGCardEntry extends Morph {
const element = v.element;

if (!element) {
if (v.type && v.type.toLowerCase() === 'goal') {
this.get('#element').className = 'fa fa-circle';
this.get('#element').style.color = 'goldenrod';
return;
}

this.get('#element').className = 'fa fa-question';
this.get('#element').style.color = 'darkgray';
return;
Expand Down
Loading

0 comments on commit 8f7872a

Please sign in to comment.