mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-02-17 08:50:58 -05:00
FastClick avoidance on start level button.
This commit is contained in:
parent
0f721f9f48
commit
4c8e67efce
4 changed files with 7 additions and 1 deletions
|
@ -110,3 +110,7 @@ html.fullscreen-editor
|
|||
bottom: inherit
|
||||
right: 50%
|
||||
margin-right: -300px
|
||||
|
||||
// iPad property docs
|
||||
.tome-inventory-property-documentation
|
||||
background-color: #c86
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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()
|
||||
|
|
|
@ -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) ->
|
||||
|
|
Loading…
Reference in a new issue