diff --git a/app/assets/images/level/pointer.png b/app/assets/images/level/pointer.png index e158b18c4..af721f635 100644 Binary files a/app/assets/images/level/pointer.png and b/app/assets/images/level/pointer.png differ diff --git a/app/styles/play/world-map-view.sass b/app/styles/play/world-map-view.sass index 36a3de10f..16a93f859 100644 --- a/app/styles/play/world-map-view.sass +++ b/app/styles/play/world-map-view.sass @@ -291,3 +291,6 @@ $gameControlMargin: 30px body:not(.ipad) #world-map-view .level-info-container pointer-events: none + + .old-levels + display: none diff --git a/app/views/play/level/tome/SpellPaletteView.coffee b/app/views/play/level/tome/SpellPaletteView.coffee index 8597d7579..206725c47 100644 --- a/app/views/play/level/tome/SpellPaletteView.coffee +++ b/app/views/play/level/tome/SpellPaletteView.coffee @@ -225,7 +225,9 @@ module.exports = class SpellPaletteView extends CocoView @entryGroups = _.groupBy @entries, (entry) -> itemsByProp[entry.doc.name]?.get('name') ? 'Hero' iOSEntryGroups = {} for group, entries of @entryGroups - iOSEntryGroups[group] = (entry.doc for entry in entries) + iOSEntryGroups[group] = + item: {name: group, imageURL: itemThangTypes[group]?.getPortraitURL()} + props: (entry.doc for entry in entries) Backbone.Mediator.publish 'tome:palette-updated', thangID: @thang.id, entryGroups: JSON.stringify(iOSEntryGroups) addEntry: (doc, shortenize, tabbify, isSnippet=false, item=null, showImage=false) -> diff --git a/app/views/play/level/tome/SpellView.coffee b/app/views/play/level/tome/SpellView.coffee index f1dd39be6..2ac037461 100644 --- a/app/views/play/level/tome/SpellView.coffee +++ b/app/views/play/level/tome/SpellView.coffee @@ -375,6 +375,7 @@ module.exports = class SpellView extends CocoView reloadCode: (cast=true) -> @updateACEText @spell.originalSource @recompile cast + Backbone.Mediator.publish 'tome:spell-loaded', spell: @spell recompileIfNeeded: => @recompile() if @recompileNeeded