FastClick avoidance on start level button.

This commit is contained in:
Nick Winter 2014-10-26 17:49:34 -07:00
parent 0f721f9f48
commit 4c8e67efce
4 changed files with 7 additions and 1 deletions

View file

@ -110,3 +110,7 @@ html.fullscreen-editor
bottom: inherit
right: 50%
margin-right: -300px
// iPad property docs
.tome-inventory-property-documentation
background-color: #c86

View file

@ -48,4 +48,4 @@
.panel-heading.header-font(data-i18n="play_level.goals") Goals
ul.list-group
button.start-level-button.btn.btn-lg.btn-success.header-font.secret(data-i18n="play_level.loading_start") Start Level
button.start-level-button.btn.btn-lg.btn-success.header-font.secret.needsclick(data-i18n="play_level.loading_start") Start Level

View file

@ -27,6 +27,7 @@ module.exports = class SpellPaletteEntryView extends CocoView
@thang = options.thang
@docFormatter = new DocFormatter options
@doc = @docFormatter.doc
@doc.initialHTML = @docFormatter.formatPopover()
getRenderData: ->
c = super()

View file

@ -228,6 +228,7 @@ module.exports = class SpellPaletteView extends CocoView
iOSEntryGroups[group] =
item: {name: group, imageURL: itemThangTypes[group]?.getPortraitURL()}
props: (entry.doc for entry in entries)
console.log 'going to send over', JSON.stringify(iOSEntryGroups)
Backbone.Mediator.publish 'tome:palette-updated', thangID: @thang.id, entryGroups: JSON.stringify(iOSEntryGroups)
addEntry: (doc, shortenize, tabbify, isSnippet=false, item=null, showImage=false) ->