Merge pull request #2384 from ScottDowne/rebase-fix · mozilla-appmaker/appmaker@854e541 · GitHub
Skip to content
This repository was archived by the owner on Mar 30, 2019. It is now read-only.

Commit 854e541

Browse files
committed
Merge pull request #2384 from ScottDowne/rebase-fix
resync to master
2 parents 4e40440 + 4b7e7a0 commit 854e541

4 files changed

Lines changed: 13 additions & 2 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion

public/bundles/components/component-chef-adventure/component.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@
1919
background-color: white;
2020
}
2121

22+
:host .player {
23+
background-size: 100% 100%;
24+
}
25+
2226
:host .tile-palette {
2327
width: 100%;
2428
}

public/bundles/components/component-chef-adventure/component.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,10 @@
232232
"description": "",
233233
"label": ""
234234
},
235+
"setavatar": {
236+
"description": "",
237+
"label": ""
238+
},
235239
"removeplayer": {
236240
"description": "",
237241
"label": ""
@@ -507,6 +511,9 @@
507511
this.objectPalette = sender.getAttribute("data-palette");
508512
this.wallPalette = sender.getAttribute("data-palette");
509513
},
514+
setavatar: function(avatar) {
515+
this.playersprite = avatar;
516+
},
510517
removeplayer: function() {
511518
var player = this.querySelector(".player");
512519
if (player) {

public/designer/js/editable.js

Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)